mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-26 00:51:26 -05:00
Add a margin below the no-image placeholder in the dashboard edit item
This commit is contained in:
parent
bf0703b7d3
commit
26bed078e2
2 changed files with 5 additions and 1 deletions
4
resources/assets/sass/dashboard.scss
vendored
4
resources/assets/sass/dashboard.scss
vendored
|
@ -363,6 +363,10 @@ body {
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-image {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
.back-button { float: left; }
|
.back-button { float: left; }
|
||||||
.submit-button { float: right; }
|
.submit-button { float: right; }
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
@if(file_exists(base_path() . '/public' . $current_image))
|
@if(file_exists(base_path() . '/public' . $current_image))
|
||||||
<div class="current-image" style="background-image: url({{ $current_image }});"></div>
|
<div class="current-image" style="background-image: url({{ $current_image }});"></div>
|
||||||
@else
|
@else
|
||||||
<div>(No Image Set)</div>
|
<div class="no-image">(No Image Set)</div>
|
||||||
@endif
|
@endif
|
||||||
@elseif($column['type'] == 'display')
|
@elseif($column['type'] == 'display')
|
||||||
<div class="text-display">{{ $value }}</div>
|
<div class="text-display">{{ $value }}</div>
|
||||||
|
|
Loading…
Reference in a new issue