使用calc优化CSS生成器的浏览部分

This commit is contained in:
simon3000 2019-07-11 22:51:41 +02:00
parent 26f19b6630
commit 4f4d117ce0
No known key found for this signature in database
GPG Key ID: 9E04DC65786E7851

View File

@ -357,8 +357,8 @@ export default {
#example-container {
position: fixed;
top: 30px;
right: 30px;
width: 400px;
left: calc(210px + 40px + (100vw - 210px - 40px) / 2);
width: calc((100vw - 210px - 40px) / 2 - 40px - 30px);
height: calc(100vh - 110px);
background-color: #444;