Skip to content

Commit 08a0d89

Browse files
style: Custom sample code width ( Fixes #202 )
Trying fit-content instead
1 parent 8acd540 commit 08a0d89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

psturtle.com/_includes/Help.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ if ($notes) {
6262
}"
6363
".sampleCode {
6464
text-align: center;
65-
width: ${SampleCodeWidthLandscape}ch;
65+
width: fit-content;
6666
font-size: .9rem;
6767
margin-left: auto;
6868
margin-right: auto;
6969
}"
7070

71-
"@media (orientation: portrait) {
71+
<#"@media (orientation: portrait) {
7272
sampleCode { width: ${SampleCodeWidthPortrait}ch }
73-
}"
73+
}"#>
7474

7575
"code { text-align: left}"
7676

0 commit comments

Comments
 (0)