mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-23 05:56:29 +00:00
Restore small scrollbars in PWA mode
This commit is contained in:
parent
175b8b37b0
commit
9415ebb4f4
1 changed files with 16 additions and 1 deletions
|
@ -1262,7 +1262,6 @@ form .post {
|
|||
height: var(--md-header-height);
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
background-color: var(--color-bg-main);
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
|
@ -1363,6 +1362,22 @@ form .post {
|
|||
|
||||
}
|
||||
|
||||
|
||||
@media (display-mode: standalone) {
|
||||
html {
|
||||
scrollbar-color: var(--color-bg-main) var(--color-text-duller);
|
||||
}
|
||||
|
||||
html::-webkit-scrollbar {
|
||||
background: var(--color-bg-menu);
|
||||
width: 7px;
|
||||
}
|
||||
|
||||
html::-webkit-scrollbar-thumb {
|
||||
background: var(--color-text-dull);
|
||||
}
|
||||
}
|
||||
|
||||
/* Copy to clipboard action */
|
||||
|
||||
.copy {
|
||||
|
|
Loading…
Reference in a new issue