diff options
| author | dvs1 | 2025-03-14 15:39:46 +1000 |
|---|---|---|
| committer | dvs1 | 2025-03-14 15:39:46 +1000 |
| commit | 3573f9241c46c598b247f31ce7e7f446947dbdff (patch) | |
| tree | 5add2645106d80ad25f81a1854bf4170b7a2acc2 /default.template | |
| parent | Fix up /System/ linkies. (diff) | |
| download | notYetAnotherWiki-3573f9241c46c598b247f31ce7e7f446947dbdff.zip notYetAnotherWiki-3573f9241c46c598b247f31ce7e7f446947dbdff.tar.gz notYetAnotherWiki-3573f9241c46c598b247f31ce7e7f446947dbdff.tar.bz2 notYetAnotherWiki-3573f9241c46c598b247f31ce7e7f446947dbdff.tar.xz | |
Make code blocks resize properly.
Diffstat (limited to '')
| -rw-r--r-- | default.template | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/default.template b/default.template index 9aeef16..2357782 100644 --- a/default.template +++ b/default.template | |||
| @@ -17,10 +17,8 @@ | |||
| 17 | menu {list-style-type: none;} | 17 | menu {list-style-type: none;} |
| 18 | pre { | 18 | pre { |
| 19 | background-image: linear-gradient(to right, $PinkFloyd$, $onefangPurple$); | 19 | background-image: linear-gradient(to right, $PinkFloyd$, $onefangPurple$); |
| 20 | overflow-x: auto; | 20 | width: fit-content; max-width: 99%; overflow-x: auto; |
| 21 | width: 99%; | 21 | margin: 2px; border: 2px solid grey; |
| 22 | margin: 2px; | ||
| 23 | border: 2px solid grey; | ||
| 24 | } | 22 | } |
| 25 | table, td, th {border-collapse: collapse; border: 2px solid grey;} | 23 | table, td, th {border-collapse: collapse; border: 2px solid grey;} |
| 26 | 24 | ||
