Fossil SCM
Prevent the cell background colors from extending beyond the outer rounded borders of the diff table in WebKit-based browsers.
Commit
b666bbc54d746e3ac141d0c0166048bf2d3649056f137c5829e60a76afd9fdc7
Parent
4c0ff6ed62b1e36…
1 file changed
+1
+1
| --- src/default.css | ||
| +++ src/default.css | ||
| @@ -560,10 +560,11 @@ | ||
| 560 | 560 | table.diff { |
| 561 | 561 | width: 100%; |
| 562 | 562 | border-spacing: 0; |
| 563 | 563 | border-radius: 5px; |
| 564 | 564 | border: 1px solid black; |
| 565 | + overflow: hidden; /* Prevent background from overlapping rounded borders. */ | |
| 565 | 566 | font-size: 80%; |
| 566 | 567 | } |
| 567 | 568 | table.diff td.diffln{ |
| 568 | 569 | padding: 0; |
| 569 | 570 | } |
| 570 | 571 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -560,10 +560,11 @@ | |
| 560 | table.diff { |
| 561 | width: 100%; |
| 562 | border-spacing: 0; |
| 563 | border-radius: 5px; |
| 564 | border: 1px solid black; |
| 565 | font-size: 80%; |
| 566 | } |
| 567 | table.diff td.diffln{ |
| 568 | padding: 0; |
| 569 | } |
| 570 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -560,10 +560,11 @@ | |
| 560 | table.diff { |
| 561 | width: 100%; |
| 562 | border-spacing: 0; |
| 563 | border-radius: 5px; |
| 564 | border: 1px solid black; |
| 565 | overflow: hidden; /* Prevent background from overlapping rounded borders. */ |
| 566 | font-size: 80%; |
| 567 | } |
| 568 | table.diff td.diffln{ |
| 569 | padding: 0; |
| 570 | } |
| 571 |