file: separate content and line numbers
Anirudh Oppiliappan x@icyphox.sh
PGP Signature
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEE/huPz+bBYiLxVxyOipP5b3jF1MQFAmOgV6IACgkQipP5b3jF 1MTlFwf+JJtybh+tF/L5iRR8SdkSosmu8ZCu/bZeechMXDAm82Nembix9hrqq0Dc otgyKf2bL0CWcT5W3PAnqngEZiOhpdU3aEOfSuUaHy9iZOIG6ET4sA4WucOrHzwV I8i+jlwsQ9vWbjYP5GUL+34mheJqtuT74QkGnMHAUQIDy/42Ahi7o2CoPuqEQyIM Gq6SJKT3bJ0A7ZPBfPEqi/46urTDafV+0MmJm+34HekAq3MrbIMfqASd5IutcCBF i2pURROXRRvoeua6LP7Dv+DZxAz/1uT0bc9JEByZT2BgKqXE4iPiPG6TWlNSegXa 5RU7EmfqhDgzNEgwP2avUCeFCqHt0A== =Osxa -----END PGP SIGNATURE-----
2 files changed,
6 insertions(+),
2 deletions(-)
M
static/style.css
→
static/style.css
@@ -229,9 +229,13 @@ display: flex;
flex-direction: row; grid-template-columns: 1rem minmax(0, 1fr); gap: 1rem; - overflow: scroll; padding: 0.5rem; background: var(--light-gray); +} + +.file-content { + background: var(--light-gray); + overflow: scroll; } .commit-info {
M
templates/file.html
→
templates/file.html
@@ -14,7 +14,7 @@ {{- range .linecount }}
<a id="L{{ . }}" href="#L{{ . }}">{{ . }}</a> {{- end -}} </div> - <div> + <div class="file-content"> <span></span> <pre> {{- .content -}}