Fix the dashboard edit-list title when a sort handle is present

This commit is contained in:
Kevin MacMartin 2018-01-11 23:57:49 -05:00
parent b5016bab06
commit 22da70893a
2 changed files with 18 additions and 20 deletions

View file

@ -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 {

View file

@ -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">