mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 17:50:22 -05:00
Use a fixed height for the image upload and delete buttons because the aspect ratio was behaving strangely on mobile
This commit is contained in:
parent
33cb7434ff
commit
c0e1673b14
1 changed files with 2 additions and 2 deletions
4
resources/assets/sass/dashboard.scss
vendored
4
resources/assets/sass/dashboard.scss
vendored
|
@ -836,9 +836,9 @@ body {
|
|||
}
|
||||
|
||||
.image-upload-button, .image-delete-button {
|
||||
@include aspect-ratio(1, 1);
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
min-height: 0;
|
||||
border: 1px solid darken($c-dashboard-light, 14%);
|
||||
border-radius: 3px;
|
||||
|
@ -863,7 +863,7 @@ body {
|
|||
.image-delete-button {
|
||||
background-image: url("/img/dashboard/trash-alt.svg");
|
||||
opacity: 1;
|
||||
transition: background-color 150ms, opacity 150ms;
|
||||
transition: background-color 150ms, opacity 150ms;
|
||||
|
||||
&.inactive {
|
||||
opacity: 0.35;
|
||||
|
|
Loading…
Reference in a new issue