Fossil SCM
Prevent the web UI side-by-side diffs and their scrollbars from getting truncated on the right. [forum:f9becc251c| Forum Post f9becc251c].
Commit
1a668d359a9615e22edd144376afa66eef9113c8271d9036d6dd8bd82dc578cf
Parent
ac6edb35dff3cc1…
1 file changed
+1
+1
| --- src/default.css | ||
| +++ src/default.css | ||
| @@ -580,10 +580,11 @@ | ||
| 580 | 580 | table.diff td.difftxt > pre { |
| 581 | 581 | min-width: 100%; |
| 582 | 582 | max-width: 100%; |
| 583 | 583 | } |
| 584 | 584 | table.diff td > pre { |
| 585 | + box-sizing: border-box; | |
| 585 | 586 | /* Workaround for "slight wiggle" when using mouse-wheel in some FF |
| 586 | 587 | versions, apparently caused by the increased line-height forcing |
| 587 | 588 | these elements to be a *tick* larger than they should be but not |
| 588 | 589 | large enough to force a scroll bar to show up. */ |
| 589 | 590 | overflow-y: hidden; |
| 590 | 591 |
| --- 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 |