mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 19:26:38 -05:00
Fix the dashboard edit-list title when a sort handle is present
This commit is contained in:
parent
b5016bab06
commit
22da70893a
2 changed files with 18 additions and 20 deletions
14
resources/assets/sass/dashboard.scss
vendored
14
resources/assets/sass/dashboard.scss
vendored
|
@ -270,13 +270,6 @@ body {
|
|||
margin: 3px;
|
||||
}
|
||||
|
||||
.sort-icon {
|
||||
margin-right: 10px;
|
||||
display: inline-block;
|
||||
cursor: grab;
|
||||
cursor: -webkit-grabbing;
|
||||
}
|
||||
|
||||
.title-column {
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px;
|
||||
|
@ -306,6 +299,13 @@ body {
|
|||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.sort-icon {
|
||||
margin-right: 10px;
|
||||
display: inline-block;
|
||||
cursor: grab;
|
||||
cursor: -webkit-grabbing;
|
||||
}
|
||||
}
|
||||
|
||||
.button-column {
|
||||
|
|
|
@ -28,21 +28,19 @@
|
|||
<i class="fa fa-bars sort-icon" title="Click and drag to reorder"></i>
|
||||
@endif
|
||||
|
||||
<div class="title">
|
||||
@if(is_array($column))
|
||||
@foreach($column as $col)
|
||||
@if($row[$col] != '')
|
||||
<div class="column">{{ $row[$col] }}</div>
|
||||
@if(is_array($column))
|
||||
@foreach($column as $col)
|
||||
@if($row[$col] != '')
|
||||
<div class="column">{{ $row[$col] }}</div>
|
||||
|
||||
@if(!$loop->last)
|
||||
<div class="column spacer">|</div>
|
||||
@endif
|
||||
@if(!$loop->last)
|
||||
<div class="column spacer">|</div>
|
||||
@endif
|
||||
@endforeach
|
||||
@else
|
||||
{{ $row[$column] }}
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
@else
|
||||
{{ $row[$column] }}
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="button-column">
|
||||
|
|
Loading…
Reference in a new issue