refactor: adjust charts preview
This commit is contained in:
parent
ebc566fc9d
commit
fea5649efb
3 changed files with 39 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue