refactor: adjust charts preview

This commit is contained in:
vicanso 2021-12-26 09:02:24 +08:00
parent ebc566fc9d
commit fea5649efb
3 changed files with 39 additions and 4 deletions

View file

@ -26,6 +26,17 @@ body {
top: 60px;
bottom: 50px;
}
.optionTips {
position: absolute;
top: 3px;
right: 10px;
}
.previewTips {
position: absolute;
top: 3px;
left: 10px;
color: #fff;
}
.run {
display: block;
position: fixed;
@ -43,8 +54,12 @@ body {
.run:active, .run:visited {
color: #fff;
}
#svg {
position: absolute;
top: 50%;
margin-top: -200px;
}
svg {
display: block;
margin: 30px auto;
margin: auto;
}