Skip to content

Commit 676b1e8

Browse files
authored
Merge pull request #801 from JPToroDev/clean-up
Fix incorrect max-width value in `frame()`.
2 parents 9e04602 + 33e4d0f commit 676b1e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Ignite/Modifiers/Frame.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ private extension HTML {
155155
}
156156

157157
if let maxWidth {
158-
dimensions.append(.init(.maxWidth, value: "min(\(maxWidth.stringValue), 100%)"))
158+
dimensions.append(.init(.maxWidth, value: maxWidth.stringValue))
159159
}
160160

161161
if let minHeight {

0 commit comments

Comments
 (0)