fix: widen mode width

also, set the background for pdf control buttons
This commit is contained in:
Tienson Qin
2021-08-07 00:16:31 +08:00
parent 69426ae54b
commit aa83d13a65
2 changed files with 10 additions and 8 deletions

View File

@@ -458,6 +458,10 @@
#pdf-layout-container {
background-color: transparent;
.extensions__pdf-toolbar .buttons {
background-color: var(--ls-primary-background-color);
}
&[data-theme=light] {
background-color: #FFFFFF;
}
@@ -495,7 +499,11 @@
}
.extensions__pdf-toolbar {
background: linear-gradient(0deg, rgba(255, 255, 255, 0) 3%, #eee8d5 100%)
background: linear-gradient(0deg, rgba(255, 255, 255, 0) 3%, #eee8d5 100%);
.buttons {
background-color: #f6efdf;
}
}
}
}
@@ -571,12 +579,6 @@ body[data-page] {
padding: 0 !important;
}
.cp__sidebar-main-content {
> .pb-24 {
max-width: unset;
}
}
.extensions__pdf-loader {
width: 100%;
}