style(preview): Fix dimensions

This commit is contained in:
Tixie 2019-03-10 03:12:53 +01:00
parent d468ad3728
commit 3b0bdf2780

View file

@ -11,11 +11,6 @@
box-shadow: 0 .4rem 5rem rgba(0, 0, 0, .5); box-shadow: 0 .4rem 5rem rgba(0, 0, 0, .5);
} }
.preview-visual {
position: relative;
width: 100%;
}
.preview::after { .preview::after {
position: absolute; position: absolute;
top: calc(50% - (3em / 2)); top: calc(50% - (3em / 2));
@ -39,3 +34,11 @@
transform: rotate(359deg); transform: rotate(359deg);
} }
} }
.preview-visual {
position: relative;
display: block;
max-width: 100%;
width: 35rem;
height: 100%;
}