Fossil SCM

Added text-size-adjust:none CSS to table.diff in an attempt to keep iPhones from scaling the code text size up, bringing it out of alignment with the line numbers. Whether this works remains to be seen.

stephan 2021-09-16 15:38 trunk
Commit 2d8a9046a185dd6a54946b6e966708dbf9c80820b9fcfdf1f3b215884ff19aa0
1 file changed +2
--- src/default.css
+++ src/default.css
@@ -537,10 +537,12 @@
537537
width: 100%;
538538
border-spacing: 0;
539539
border-radius: 5px;
540540
border: 1px solid black;
541541
font-size: 80%;
542
+ text-size-adjust: none
543
+ /* ^^^ attempt to keep mobile from inflating some text */;
542544
}
543545
table.diff td.diffln{
544546
padding: 0;
545547
}
546548
table.diff td.diffln > pre{
547549
--- src/default.css
+++ src/default.css
@@ -537,10 +537,12 @@
537 width: 100%;
538 border-spacing: 0;
539 border-radius: 5px;
540 border: 1px solid black;
541 font-size: 80%;
 
 
542 }
543 table.diff td.diffln{
544 padding: 0;
545 }
546 table.diff td.diffln > pre{
547
--- src/default.css
+++ src/default.css
@@ -537,10 +537,12 @@
537 width: 100%;
538 border-spacing: 0;
539 border-radius: 5px;
540 border: 1px solid black;
541 font-size: 80%;
542 text-size-adjust: none
543 /* ^^^ attempt to keep mobile from inflating some text */;
544 }
545 table.diff td.diffln{
546 padding: 0;
547 }
548 table.diff td.diffln > pre{
549

Keyboard Shortcuts

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