mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-25 08:51:25 -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;
|
margin: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sort-icon {
|
|
||||||
margin-right: 10px;
|
|
||||||
display: inline-block;
|
|
||||||
cursor: grab;
|
|
||||||
cursor: -webkit-grabbing;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title-column {
|
.title-column {
|
||||||
padding-top: 6px;
|
padding-top: 6px;
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
|
@ -306,6 +299,13 @@ body {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sort-icon {
|
||||||
|
margin-right: 10px;
|
||||||
|
display: inline-block;
|
||||||
|
cursor: grab;
|
||||||
|
cursor: -webkit-grabbing;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-column {
|
.button-column {
|
||||||
|
|
|
@ -28,21 +28,19 @@
|
||||||
<i class="fa fa-bars sort-icon" title="Click and drag to reorder"></i>
|
<i class="fa fa-bars sort-icon" title="Click and drag to reorder"></i>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="title">
|
@if(is_array($column))
|
||||||
@if(is_array($column))
|
@foreach($column as $col)
|
||||||
@foreach($column as $col)
|
@if($row[$col] != '')
|
||||||
@if($row[$col] != '')
|
<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="column spacer">|</div>
|
||||||
@endif
|
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endif
|
||||||
@else
|
@endforeach
|
||||||
{{ $row[$column] }}
|
@else
|
||||||
@endif
|
{{ $row[$column] }}
|
||||||
</div>
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="button-column">
|
<div class="button-column">
|
||||||
|
|
Loading…
Reference in a new issue