From 98912b76ed018af2abb856de6c65d40f5d3761d5 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 9 Apr 2023 20:20:06 -0700 Subject: [PATCH] Restrict min and max resizing --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index a287e06..9604fa1 100644 --- a/index.html +++ b/index.html @@ -85,6 +85,8 @@ .width-resizable { resize: horizontal; + min-inline-size: 50px; + max-inline-size: min(1080px, 100% - 16px); } .dynamic-line-clamp { @@ -96,6 +98,8 @@ .height-resizable { resize: vertical; + min-block-size: 21px; + max-block-size: 294px; } .width-resizable, -- 2.47.3