From: Ardis Lu Date: Wed, 12 Apr 2023 06:45:49 +0000 (-0700) Subject: Remove max inline restriction on

X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=38039c0155e70948330564c3c24709a80f1054da;p=css-for-line-clamp-ellipsis Remove max inline restriction on

already includes margin --- diff --git a/index.html b/index.html index 23326c2..c053572 100644 --- a/index.html +++ b/index.html @@ -53,7 +53,7 @@ } p { - inline-size: min(80ch, 100% - 16px); + inline-size: min(80ch, 100%); } pre, @@ -90,7 +90,7 @@ .width-resizable { resize: horizontal; min-inline-size: 50px; - max-inline-size: min(1080px, 100% - 16px); + max-inline-size: min(1080px, 100%); } .dynamic-line-clamp {