Skip to content

Commit 45b76ba

Browse files
committed
prevent filefox flexbox from becoming too narrow
1 parent ef6b173 commit 45b76ba

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ui/src/css/base.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,11 @@ object[type="image/svg+xml"]:not([width]) {
145145
background-color: var(--scrollbar_hover-thumb-color);
146146
}
147147
}
148+
149+
/* Firefox-specific CSS to fix flexbox shrinking issue */
150+
@-moz-document url-prefix() {
151+
main > .content .doc,
152+
article.doc {
153+
flex-shrink: 0; /* Prevent excessive shrinking in Firefox */
154+
}
155+
}

0 commit comments

Comments
 (0)