feat: 增加任务日志滚动条样式

This commit is contained in:
Argo-Lenovo 2022-01-29 18:39:54 +08:00
parent 41b0dce852
commit e4b2f70ae3
2 changed files with 10 additions and 2 deletions

View File

@ -166,7 +166,7 @@ public partial class Tasks
{
var option = new DialogOption()
{
Class = "task-info",
Class = "modal-dialog-task",
Title = $"{model.Name} - 日志窗口(最新 20 条)",
Component = BootstrapDynamicComponent.CreateComponent<TaskInfo>(new Dictionary<string, object?>
{

View File

@ -1,4 +1,4 @@
.layout.is-page .layout-side {
.layout.is-page .layout-side {
color: #3f4254;
background-color: #fff;
box-shadow: 0 0 28px 0 rgb(82 63 105 / 5%);
@ -26,3 +26,11 @@
background-color: #fff !important;
}
}
.modal-dialog-task ::-webkit-scrollbar-thumb {
background-color: #ffffff66;
}
.modal-dialog-task ::-webkit-scrollbar-thumb:hover {
background-color: #ffffffb3;
}