fixed more css for /teacher and /admin

This commit is contained in:
Yaman 2015-01-12 18:18:32 -05:00
parent bf5b7cd0a8
commit 9e773c1cd0
4 changed files with 11 additions and 4 deletions

View File

@ -14,7 +14,7 @@
<input type="submit" value="Submit" class="add" /> <input type="submit" value="Submit" class="add" />
</form> </form>
</div> </div>
<div id="edit-admin"> <div>
<h6>Edit Chromebooks</h6> <h6>Edit Chromebooks</h6>
{{#each chromebooks}} {{#each chromebooks}}
<div class="row-admin"> <div class="row-admin">

View File

@ -113,13 +113,15 @@ button {
background-image: linear-gradient(to bottom, #db6b6b, #d64949); background-image: linear-gradient(to bottom, #db6b6b, #d64949);
text-decoration: none; text-decoration: none;
} }
#chromebooks, #carts, #tchromebooks { #chromebooks, #carts, .tchromebooks {
overflow: auto; overflow: auto;
padding-top:.5%; padding-top:.5%;
padding-bottom:.5%; padding-bottom:.5%;
}
#chromebooks, #carts {
max-height:600px; max-height:600px;
} }
#tchromebooks { .tchromebooks {
max-height:500px; max-height:500px;
} }
#border { #border {

View File

@ -26,3 +26,8 @@
padding: 4.2% 15px 15px 15px; padding: 4.2% 15px 15px 15px;
} }
.tabs-content {
overflow: scroll;
min-width: 500px;
max-height: 500px;
}

View File

@ -4,7 +4,7 @@
<div> <div>
{{#teacherTabs tabs=tabs}} {{#teacherTabs tabs=tabs}}
<!-- Single --> <!-- Single -->
<div id="tchromebooks"> <div>
{{#each chromebooks}} {{#each chromebooks}}
<div class="row"> <div class="row">
{{> chromebook}} {{> chromebook}}