From 3b0bdf2780ebdcb2577047f64823e142a1c5bd7d Mon Sep 17 00:00:00 2001 From: Tixie Date: Sun, 10 Mar 2019 03:12:53 +0100 Subject: [PATCH] style(preview): Fix dimensions --- src/assets/css/4-modules/preview.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/assets/css/4-modules/preview.css b/src/assets/css/4-modules/preview.css index 871545f..dffb314 100644 --- a/src/assets/css/4-modules/preview.css +++ b/src/assets/css/4-modules/preview.css @@ -11,11 +11,6 @@ box-shadow: 0 .4rem 5rem rgba(0, 0, 0, .5); } -.preview-visual { - position: relative; - width: 100%; -} - .preview::after { position: absolute; top: calc(50% - (3em / 2)); @@ -39,3 +34,11 @@ transform: rotate(359deg); } } + +.preview-visual { + position: relative; + display: block; + max-width: 100%; + width: 35rem; + height: 100%; +}