mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-25 16:51:25 -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
16
resources/assets/sass/dashboard.scss
vendored
16
resources/assets/sass/dashboard.scss
vendored
|
@ -286,19 +286,17 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.column {
|
.column {
|
||||||
@media (max-width: $screen-xs-max) {
|
display: inline-block;
|
||||||
margin-right: 3px;
|
}
|
||||||
display: inline-block;
|
|
||||||
|
|
||||||
&.spacer {
|
.spacer {
|
||||||
display: block;
|
@media (max-width: $screen-xs-max) {
|
||||||
font-size: 0;
|
display: block;
|
||||||
}
|
font-size: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: $screen-sm-min) {
|
@media (min-width: $screen-sm-min) {
|
||||||
float: left;
|
display: inline-block;
|
||||||
margin-right: 10px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<div class="column">{{ $row[$col] }}</div>
|
<div class="column">{{ $row[$col] }}</div>
|
||||||
|
|
||||||
@if(!$loop->last)
|
@if(!$loop->last)
|
||||||
<div class="column spacer">|</div>
|
<div class="spacer">|</div>
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
Loading…
Reference in a new issue