use variables for thumbnail size

This commit is contained in:
Sean Yesmunt 2018-07-18 11:55:17 -04:00
parent 6df4032c90
commit a68f276fb0
3 changed files with 8 additions and 4 deletions

View file

@ -370,6 +370,6 @@ p {
} }
.thumbnail-preview { .thumbnail-preview {
height: 100px; height: var(--thumbnail-preview-height);
width: 177px; width: var(--thumbnail-preview-width);
} }

View file

@ -179,4 +179,8 @@ $large-breakpoint: 1921px;
// /* Animation :) */ // /* Animation :) */
--animation-duration: 0.3s; --animation-duration: 0.3s;
--animation-style: cubic-bezier(0.55, 0, 0.1, 1); --animation-style: cubic-bezier(0.55, 0, 0.1, 1);
/* Image */
--thumbnail-preview-height: 100px;
--thumbnail-preview-width: 177px;
} }

View file

@ -68,7 +68,7 @@
} }
input.input--thumbnail { input.input--thumbnail {
width: 370px; width: 400px;
} }
&.form-field--auto-height { &.form-field--auto-height {