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 {
6969 }
7070 . paragraph { configuration in
7171 configuration. label
72+ . fixedSize ( horizontal: false , vertical: true )
7273 . relativeLineSpacing ( . em( 0.15 ) )
7374 . markdownMargin ( top: . zero, bottom: . em( 1 ) )
7475 }
@@ -94,6 +95,7 @@ extension Theme {
9495 }
9596 . table { configuration in
9697 configuration. label
98+ . fixedSize ( horizontal: false , vertical: true )
9799 . markdownMargin ( top: . zero, bottom: . em( 1 ) )
98100 }
99101 . tableCell { configuration in
@@ -103,6 +105,7 @@ extension Theme {
103105 FontWeight ( . semibold)
104106 }
105107 }
108+ . fixedSize ( horizontal: false , vertical: true )
106109 . relativeLineSpacing ( . em( 0.15 ) )
107110 . relativePadding ( . horizontal, length: . em( 0.72 ) )
108111 . relativePadding ( . vertical, length: . em( 0.35 ) )
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ extension Theme {
7575 }
7676 . paragraph { configuration in
7777 configuration. label
78+ . fixedSize ( horizontal: false , vertical: true )
7879 . relativeLineSpacing ( . em( 0.235295 ) )
7980 . markdownMargin ( top: . em( 0.8 ) , bottom: . zero)
8081 }
@@ -123,6 +124,7 @@ extension Theme {
123124 }
124125 . table { configuration in
125126 configuration. label
127+ . fixedSize ( horizontal: false , vertical: true )
126128 . markdownTableBorderStyle ( . init( . horizontalBorders, color: . grid) )
127129 . markdownMargin ( top: . em( 1.6 ) , bottom: . zero)
128130 }
@@ -133,6 +135,7 @@ extension Theme {
133135 FontWeight ( . semibold)
134136 }
135137 }
138+ . fixedSize ( horizontal: false , vertical: true )
136139 . relativeLineSpacing ( . em( 0.235295 ) )
137140 . relativePadding ( length: . rem( 0.58824 ) )
138141 }
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ extension Theme {
9595 }
9696 . paragraph { configuration in
9797 configuration. label
98+ . fixedSize ( horizontal: false , vertical: true )
9899 . relativeLineSpacing ( . em( 0.25 ) )
99100 . markdownMargin ( top: 0 , bottom: 16 )
100101 }
@@ -136,6 +137,7 @@ extension Theme {
136137 }
137138 . table { configuration in
138139 configuration. label
140+ . fixedSize ( horizontal: false , vertical: true )
139141 . markdownTableBorderStyle ( . init( color: . border) )
140142 . markdownTableBackgroundStyle (
141143 . alternatingRows( Color . background, Color . secondaryBackground)
@@ -150,6 +152,7 @@ extension Theme {
150152 }
151153 BackgroundColor ( nil )
152154 }
155+ . fixedSize ( horizontal: false , vertical: true )
153156 . padding ( . vertical, 6 )
154157 . padding ( . horizontal, 13 )
155158 . relativeLineSpacing ( . em( 0.25 ) )
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ struct InlineText: View {
3232 . task ( id: self . inlines) {
3333 self . inlineImages = ( try ? await self . loadInlineImages ( ) ) ?? [ : ]
3434 }
35- . fixedSize ( horizontal: false , vertical: true )
3635 }
3736
3837 private func loadInlineImages( ) async throws -> [ String : Image ] {
You can’t perform that action at this time.
0 commit comments