perf: 样式优化

This commit is contained in:
pipipi-pikachu 2022-11-15 21:44:59 +08:00
parent 568184ffd9
commit d46edf9df3
3 changed files with 16 additions and 1 deletions

View File

@ -1,4 +1,5 @@
$themeColor: #d14424;
$themeHoverColor: #de6949;
$textColor: #41464b;
$borderColor: #eee;
$lightGray: #f9f9f9;

View File

@ -331,4 +331,18 @@ const drawLine = (line: LinePoolItem) => {
margin-top: 3px;
}
}
@media screen and (max-width: 1024px) {
.text {
display: none;
}
.handler-item {
margin: 0 5px;
}
}
@media screen and (max-width: 1000px) {
.left-handler, .right-handler {
display: none;
}
}
</style>

View File

@ -408,7 +408,7 @@ const updateViewportRatio = (value: number) => {
border-radius: $borderRadius;
&:hover {
background-color: #c42f19;
background-color: $themeHoverColor;
}
& + .btn {