Fossil SCM

Prevent the web UI side-by-side diffs and their scrollbars from getting truncated on the right. [forum:f9becc251c| Forum Post f9becc251c].

florian 2022-09-25 06:50 UTC trunk
Commit 1a668d359a9615e22edd144376afa66eef9113c8271d9036d6dd8bd82dc578cf
1 file changed +1
--- src/default.css
+++ src/default.css
@@ -580,10 +580,11 @@
580580
table.diff td.difftxt > pre {
581581
min-width: 100%;
582582
max-width: 100%;
583583
}
584584
table.diff td > pre {
585
+ box-sizing: border-box;
585586
/* Workaround for "slight wiggle" when using mouse-wheel in some FF
586587
versions, apparently caused by the increased line-height forcing
587588
these elements to be a *tick* larger than they should be but not
588589
large enough to force a scroll bar to show up. */
589590
overflow-y: hidden;
590591
--- src/default.css
+++ src/default.css
@@ -580,10 +580,11 @@
580 table.diff td.difftxt > pre {
581 min-width: 100%;
582 max-width: 100%;
583 }
584 table.diff td > pre {
 
585 /* Workaround for "slight wiggle" when using mouse-wheel in some FF
586 versions, apparently caused by the increased line-height forcing
587 these elements to be a *tick* larger than they should be but not
588 large enough to force a scroll bar to show up. */
589 overflow-y: hidden;
590
--- src/default.css
+++ src/default.css
@@ -580,10 +580,11 @@
580 table.diff td.difftxt > pre {
581 min-width: 100%;
582 max-width: 100%;
583 }
584 table.diff td > pre {
585 box-sizing: border-box;
586 /* Workaround for "slight wiggle" when using mouse-wheel in some FF
587 versions, apparently caused by the increased line-height forcing
588 these elements to be a *tick* larger than they should be but not
589 large enough to force a scroll bar to show up. */
590 overflow-y: hidden;
591

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button