File tree Expand file tree Collapse file tree 7 files changed +9
-1
lines changed
Tests/MarkdownUITests/__Snapshots__ Expand file tree Collapse file tree 7 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ extension Theme {
69
69
}
70
70
. paragraph { configuration in
71
71
configuration. label
72
+ . fixedSize ( horizontal: false , vertical: true )
72
73
. relativeLineSpacing ( . em( 0.15 ) )
73
74
. markdownMargin ( top: . zero, bottom: . em( 1 ) )
74
75
}
@@ -94,6 +95,7 @@ extension Theme {
94
95
}
95
96
. table { configuration in
96
97
configuration. label
98
+ . fixedSize ( horizontal: false , vertical: true )
97
99
. markdownMargin ( top: . zero, bottom: . em( 1 ) )
98
100
}
99
101
. tableCell { configuration in
@@ -103,6 +105,7 @@ extension Theme {
103
105
FontWeight ( . semibold)
104
106
}
105
107
}
108
+ . fixedSize ( horizontal: false , vertical: true )
106
109
. relativeLineSpacing ( . em( 0.15 ) )
107
110
. relativePadding ( . horizontal, length: . em( 0.72 ) )
108
111
. relativePadding ( . vertical, length: . em( 0.35 ) )
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ extension Theme {
75
75
}
76
76
. paragraph { configuration in
77
77
configuration. label
78
+ . fixedSize ( horizontal: false , vertical: true )
78
79
. relativeLineSpacing ( . em( 0.235295 ) )
79
80
. markdownMargin ( top: . em( 0.8 ) , bottom: . zero)
80
81
}
@@ -123,6 +124,7 @@ extension Theme {
123
124
}
124
125
. table { configuration in
125
126
configuration. label
127
+ . fixedSize ( horizontal: false , vertical: true )
126
128
. markdownTableBorderStyle ( . init( . horizontalBorders, color: . grid) )
127
129
. markdownMargin ( top: . em( 1.6 ) , bottom: . zero)
128
130
}
@@ -133,6 +135,7 @@ extension Theme {
133
135
FontWeight ( . semibold)
134
136
}
135
137
}
138
+ . fixedSize ( horizontal: false , vertical: true )
136
139
. relativeLineSpacing ( . em( 0.235295 ) )
137
140
. relativePadding ( length: . rem( 0.58824 ) )
138
141
}
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ extension Theme {
95
95
}
96
96
. paragraph { configuration in
97
97
configuration. label
98
+ . fixedSize ( horizontal: false , vertical: true )
98
99
. relativeLineSpacing ( . em( 0.25 ) )
99
100
. markdownMargin ( top: 0 , bottom: 16 )
100
101
}
@@ -136,6 +137,7 @@ extension Theme {
136
137
}
137
138
. table { configuration in
138
139
configuration. label
140
+ . fixedSize ( horizontal: false , vertical: true )
139
141
. markdownTableBorderStyle ( . init( color: . border) )
140
142
. markdownTableBackgroundStyle (
141
143
. alternatingRows( Color . background, Color . secondaryBackground)
@@ -150,6 +152,7 @@ extension Theme {
150
152
}
151
153
BackgroundColor ( nil )
152
154
}
155
+ . fixedSize ( horizontal: false , vertical: true )
153
156
. padding ( . vertical, 6 )
154
157
. padding ( . horizontal, 13 )
155
158
. relativeLineSpacing ( . em( 0.25 ) )
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ struct InlineText: View {
32
32
. task ( id: self . inlines) {
33
33
self . inlineImages = ( try ? await self . loadInlineImages ( ) ) ?? [ : ]
34
34
}
35
- . fixedSize ( horizontal: false , vertical: true )
36
35
}
37
36
38
37
private func loadInlineImages( ) async throws -> [ String : Image ] {
You can’t perform that action at this time.
0 commit comments