app/assets/stylesheets/carload/dashboard.scss in carload-0.2.2 vs app/assets/stylesheets/carload/dashboard.scss in carload-0.3.0
- old
+ new
@@ -2,10 +2,11 @@
//= require select2
//= require select2-bootstrap
//= require upload-image
$spacing: 16px;
+$half-spacing: 8px;
@import 'bootstrap-sprockets';
@import 'bootstrap';
@import 'colors';
@@ -40,20 +41,33 @@
}
}
#main-container {
width: 100%;
- padding-left: $spacing;
- padding-right: $spacing;
#main-content {
margin-top: 50px;
+ padding-left: $spacing;
+ padding-right: $spacing;
}
}
.model-index-panel {
width: 100%;
+ .panel-body {
+ overflow: scroll;
+ padding-left: 0;
+ padding-right: 0;
+ }
table {
margin-bottom: 0;
+ table-layout: fixed;
+ width: 100%;
+ td {
+ overflow: scroll;
+ }
+ th:last-child {
+ width: 50px;
+ }
}
}
.model-new-panel, .model-edit-panel {
max-width: 600px;
margin-left: auto;