From a2fe54161b02704143f71917b254d216aa856334 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Tue, 3 Dec 2024 03:28:52 +0800 Subject: [PATCH 1/2] Update syntax for fit-content() --- css/functions.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/functions.json b/css/functions.json index 527d33ad..18ab5f8f 100644 --- a/css/functions.json +++ b/css/functions.json @@ -141,12 +141,12 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/env" }, "fit-content()": { - "syntax": "fit-content( [ | ] )", + "syntax": "fit-content( )", "groups": [ "CSS Box Model" ], "status": "standard", - "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fit-content" + "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/CSS/fit-content_function" }, "grayscale()": { "syntax": "grayscale( )", From 4d1d741b1e5783c4e997e314fbe2f940246c93fb Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Tue, 3 Dec 2024 03:31:47 +0800 Subject: [PATCH 2/2] Update css/functions.json --- css/functions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/functions.json b/css/functions.json index 18ab5f8f..8cf8b2d5 100644 --- a/css/functions.json +++ b/css/functions.json @@ -146,7 +146,7 @@ "CSS Box Model" ], "status": "standard", - "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/CSS/fit-content_function" + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fit-content_function" }, "grayscale()": { "syntax": "grayscale( )",