Fossil SCM

Change width:1px sizes to width:fit-content on diff line-number and change-type cols for diff --browser and friends.

stephan 2024-12-09 07:10 trunk
Commit 8c6dddc6d03553d88c3706127ccf74aa5d597e76983cf31f48ef7219726d3721
2 files changed +4 -4 +4 -4
+4 -4
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -249,19 +249,19 @@
249249
@ margin: 0 0 0 0;
250250
@ line-height: inherit;
251251
@ font-size: inherit;
252252
@ }
253253
@ td.diffln {
254
-@ width: 1px;
254
+@ width: fit-content;
255255
@ text-align: right;
256256
@ padding: 0 1em 0 0;
257257
@ }
258258
@ td.difflne {
259259
@ padding-bottom: 0.4em;
260260
@ }
261261
@ td.diffsep {
262
-@ width: 1px;
262
+@ width: fit-content;
263263
@ padding: 0 0.3em 0 1em;
264264
@ line-height: inherit;
265265
@ font-size: inherit;
266266
@ }
267267
@ td.diffsep pre {
@@ -379,19 +379,19 @@
379379
@ margin: 0 0 0 0;
380380
@ line-height: inherit;
381381
@ font-size: inherit;
382382
@ }
383383
@ td.diffln {
384
-@ width: 1px;
384
+@ width: fit-content;
385385
@ text-align: right;
386386
@ padding: 0 1em 0 0;
387387
@ }
388388
@ td.difflne {
389389
@ padding-bottom: 0.4em;
390390
@ }
391391
@ td.diffsep {
392
-@ width: 1px;
392
+@ width: fit-content;
393393
@ padding: 0 0.3em 0 1em;
394394
@ line-height: inherit;
395395
@ font-size: inherit;
396396
@ }
397397
@ td.diffsep pre {
398398
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -249,19 +249,19 @@
249 @ margin: 0 0 0 0;
250 @ line-height: inherit;
251 @ font-size: inherit;
252 @ }
253 @ td.diffln {
254 @ width: 1px;
255 @ text-align: right;
256 @ padding: 0 1em 0 0;
257 @ }
258 @ td.difflne {
259 @ padding-bottom: 0.4em;
260 @ }
261 @ td.diffsep {
262 @ width: 1px;
263 @ padding: 0 0.3em 0 1em;
264 @ line-height: inherit;
265 @ font-size: inherit;
266 @ }
267 @ td.diffsep pre {
@@ -379,19 +379,19 @@
379 @ margin: 0 0 0 0;
380 @ line-height: inherit;
381 @ font-size: inherit;
382 @ }
383 @ td.diffln {
384 @ width: 1px;
385 @ text-align: right;
386 @ padding: 0 1em 0 0;
387 @ }
388 @ td.difflne {
389 @ padding-bottom: 0.4em;
390 @ }
391 @ td.diffsep {
392 @ width: 1px;
393 @ padding: 0 0.3em 0 1em;
394 @ line-height: inherit;
395 @ font-size: inherit;
396 @ }
397 @ td.diffsep pre {
398
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -249,19 +249,19 @@
249 @ margin: 0 0 0 0;
250 @ line-height: inherit;
251 @ font-size: inherit;
252 @ }
253 @ td.diffln {
254 @ width: fit-content;
255 @ text-align: right;
256 @ padding: 0 1em 0 0;
257 @ }
258 @ td.difflne {
259 @ padding-bottom: 0.4em;
260 @ }
261 @ td.diffsep {
262 @ width: fit-content;
263 @ padding: 0 0.3em 0 1em;
264 @ line-height: inherit;
265 @ font-size: inherit;
266 @ }
267 @ td.diffsep pre {
@@ -379,19 +379,19 @@
379 @ margin: 0 0 0 0;
380 @ line-height: inherit;
381 @ font-size: inherit;
382 @ }
383 @ td.diffln {
384 @ width: fit-content;
385 @ text-align: right;
386 @ padding: 0 1em 0 0;
387 @ }
388 @ td.difflne {
389 @ padding-bottom: 0.4em;
390 @ }
391 @ td.diffsep {
392 @ width: fit-content;
393 @ padding: 0 0.3em 0 1em;
394 @ line-height: inherit;
395 @ font-size: inherit;
396 @ }
397 @ td.diffsep pre {
398
+4 -4
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -249,19 +249,19 @@
249249
@ margin: 0 0 0 0;
250250
@ line-height: inherit;
251251
@ font-size: inherit;
252252
@ }
253253
@ td.diffln {
254
-@ width: 1px;
254
+@ width: fit-content;
255255
@ text-align: right;
256256
@ padding: 0 1em 0 0;
257257
@ }
258258
@ td.difflne {
259259
@ padding-bottom: 0.4em;
260260
@ }
261261
@ td.diffsep {
262
-@ width: 1px;
262
+@ width: fit-content;
263263
@ padding: 0 0.3em 0 1em;
264264
@ line-height: inherit;
265265
@ font-size: inherit;
266266
@ }
267267
@ td.diffsep pre {
@@ -379,19 +379,19 @@
379379
@ margin: 0 0 0 0;
380380
@ line-height: inherit;
381381
@ font-size: inherit;
382382
@ }
383383
@ td.diffln {
384
-@ width: 1px;
384
+@ width: fit-content;
385385
@ text-align: right;
386386
@ padding: 0 1em 0 0;
387387
@ }
388388
@ td.difflne {
389389
@ padding-bottom: 0.4em;
390390
@ }
391391
@ td.diffsep {
392
-@ width: 1px;
392
+@ width: fit-content;
393393
@ padding: 0 0.3em 0 1em;
394394
@ line-height: inherit;
395395
@ font-size: inherit;
396396
@ }
397397
@ td.diffsep pre {
398398
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -249,19 +249,19 @@
249 @ margin: 0 0 0 0;
250 @ line-height: inherit;
251 @ font-size: inherit;
252 @ }
253 @ td.diffln {
254 @ width: 1px;
255 @ text-align: right;
256 @ padding: 0 1em 0 0;
257 @ }
258 @ td.difflne {
259 @ padding-bottom: 0.4em;
260 @ }
261 @ td.diffsep {
262 @ width: 1px;
263 @ padding: 0 0.3em 0 1em;
264 @ line-height: inherit;
265 @ font-size: inherit;
266 @ }
267 @ td.diffsep pre {
@@ -379,19 +379,19 @@
379 @ margin: 0 0 0 0;
380 @ line-height: inherit;
381 @ font-size: inherit;
382 @ }
383 @ td.diffln {
384 @ width: 1px;
385 @ text-align: right;
386 @ padding: 0 1em 0 0;
387 @ }
388 @ td.difflne {
389 @ padding-bottom: 0.4em;
390 @ }
391 @ td.diffsep {
392 @ width: 1px;
393 @ padding: 0 0.3em 0 1em;
394 @ line-height: inherit;
395 @ font-size: inherit;
396 @ }
397 @ td.diffsep pre {
398
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -249,19 +249,19 @@
249 @ margin: 0 0 0 0;
250 @ line-height: inherit;
251 @ font-size: inherit;
252 @ }
253 @ td.diffln {
254 @ width: fit-content;
255 @ text-align: right;
256 @ padding: 0 1em 0 0;
257 @ }
258 @ td.difflne {
259 @ padding-bottom: 0.4em;
260 @ }
261 @ td.diffsep {
262 @ width: fit-content;
263 @ padding: 0 0.3em 0 1em;
264 @ line-height: inherit;
265 @ font-size: inherit;
266 @ }
267 @ td.diffsep pre {
@@ -379,19 +379,19 @@
379 @ margin: 0 0 0 0;
380 @ line-height: inherit;
381 @ font-size: inherit;
382 @ }
383 @ td.diffln {
384 @ width: fit-content;
385 @ text-align: right;
386 @ padding: 0 1em 0 0;
387 @ }
388 @ td.difflne {
389 @ padding-bottom: 0.4em;
390 @ }
391 @ td.diffsep {
392 @ width: fit-content;
393 @ padding: 0 0.3em 0 1em;
394 @ line-height: inherit;
395 @ font-size: inherit;
396 @ }
397 @ td.diffsep pre {
398

Keyboard Shortcuts

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