mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-11 15:22:54 +02:00
Fix iframe scrollbar
This commit is contained in:
+7
-5
@@ -66,7 +66,8 @@
|
|||||||
* Mac doesn't like this (especially in CodeMirror) so we only do it on non-macos platforms. On Mac,
|
* Mac doesn't like this (especially in CodeMirror) so we only do it on non-macos platforms. On Mac,
|
||||||
* styling the scrollbar seems to cause them to not show up at all most of the time
|
* styling the scrollbar seems to cause them to not show up at all most of the time
|
||||||
*/
|
*/
|
||||||
html:not([data-platform="macos"]) * {
|
html:not([data-platform="macos"]) {
|
||||||
|
* {
|
||||||
::-webkit-scrollbar-corner,
|
::-webkit-scrollbar-corner,
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
@apply w-[10px] h-[10px];
|
@apply w-[10px] h-[10px];
|
||||||
@@ -86,16 +87,17 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.rtl {
|
|
||||||
direction: rtl;
|
|
||||||
}
|
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
&::-webkit-scrollbar-corner,
|
&::-webkit-scrollbar-corner,
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
@apply bg-surface-highlight !important;
|
@apply bg-surface-highlight !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.rtl {
|
||||||
|
direction: rtl;
|
||||||
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
color-scheme: light dark;
|
color-scheme: light dark;
|
||||||
|
|||||||
Reference in New Issue
Block a user