mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-22 07:54:11 -05:00
Fix multi-column rows in the dashboard edit-list
This commit is contained in:
parent
fb7f87d6b0
commit
b0a5a55c9a
2 changed files with 8 additions and 10 deletions
10
resources/assets/sass/dashboard.scss
vendored
10
resources/assets/sass/dashboard.scss
vendored
|
@ -286,19 +286,17 @@ body {
|
|||
}
|
||||
|
||||
.column {
|
||||
@media (max-width: $screen-xs-max) {
|
||||
margin-right: 3px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&.spacer {
|
||||
.spacer {
|
||||
@media (max-width: $screen-xs-max) {
|
||||
display: block;
|
||||
font-size: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: $screen-sm-min) {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<div class="column">{{ $row[$col] }}</div>
|
||||
|
||||
@if(!$loop->last)
|
||||
<div class="column spacer">|</div>
|
||||
<div class="spacer">|</div>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
|
|
Loading…
Reference in a new issue