@@ -30,9 +30,10 @@ struct TwoColumn{L, R}
30
30
end
31
31
32
32
function Base. show (io, mime:: MIME"text/html" , tc:: TwoColumn )
33
- write (io, """ <div style="display: flex;"><div style="flex: 50 %;">""" )
33
+ write (io, """ <div style="display: flex;"><div style="flex: 49 %;">""" )
34
34
show (io, mime, tc. left)
35
- write (io, """ </div><div style="flex: 50%;">""" )
35
+ write (io, """ </div><div style="flex: 2%;">""" )
36
+ write (io, """ </div><div style="flex: 49%;">""" )
36
37
show (io, mime, tc. right)
37
38
write (io, """ </div></div>""" )
38
39
end
@@ -43,9 +44,10 @@ struct TwoColumnWideLeft{L, R}
43
44
end
44
45
45
46
function Base. show (io, mime:: MIME"text/html" , tc:: TwoColumnWideLeft )
46
- write (io, """ <div style="display: flex;"><div style="flex: 66 %;">""" )
47
+ write (io, """ <div style="display: flex;"><div style="flex: 65 %;">""" )
47
48
show (io, mime, tc. left)
48
- write (io, """ </div><div style="flex: 34%;">""" )
49
+ write (io, """ </div><div style="flex: 2%;">""" )
50
+ write (io, """ </div><div style="flex: 33%;">""" )
49
51
show (io, mime, tc. right)
50
52
write (io, """ </div></div>""" )
51
53
end
@@ -56,9 +58,10 @@ struct TwoColumnWideRight{L, R}
56
58
end
57
59
58
60
function Base. show (io, mime:: MIME"text/html" , tc:: TwoColumnWideRight )
59
- write (io, """ <div style="display: flex;"><div style="flex: 34 %;">""" )
61
+ write (io, """ <div style="display: flex;"><div style="flex: 33 %;">""" )
60
62
show (io, mime, tc. left)
61
- write (io, """ </div><div style="flex: 66%;">""" )
63
+ write (io, """ </div><div style="flex: 2%;">""" )
64
+ write (io, """ </div><div style="flex: 65%;">""" )
62
65
show (io, mime, tc. right)
63
66
write (io, """ </div></div>""" )
64
67
end
@@ -70,11 +73,13 @@ struct ThreeColumn{L, C, R}
70
73
end
71
74
72
75
function Base. show (io, mime:: MIME"text/html" , tc:: ThreeColumn )
73
- write (io, """ <div style="display: flex;"><div style="flex: 33 %;">""" )
76
+ write (io, """ <div style="display: flex;"><div style="flex: 32 %;">""" )
74
77
show (io, mime, tc. left)
75
- write (io, """ </div><div style="flex: 34%;">""" )
78
+ write (io, """ </div><div style="flex: 2%;">""" )
79
+ write (io, """ </div><div style="flex: 32%;">""" )
76
80
show (io, mime, tc. center)
77
- write (io, """ </div><div style="flex: 33%;">""" )
81
+ write (io, """ </div><div style="flex: 2%;">""" )
82
+ write (io, """ </div><div style="flex: 32%;">""" )
78
83
show (io, mime, tc. right)
79
84
write (io, """ </div></div>""" )
80
85
end
@@ -131,5 +136,3 @@ function ChooseDisplayMode(;wide::Bool=false, present::Bool = false, lang::Abstr
131
136
132
137
""" )
133
138
end
134
-
135
-
0 commit comments