From e5186cf0b0ad910094406d5cdbb196bb14639d77 Mon Sep 17 00:00:00 2001 From: felix Date: Sun, 11 Oct 2026 14:56:55 +0800 Subject: [PATCH] Fix gallery shortcode rounding precision for thirds --- assets/css/components/gallery.css | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/assets/css/components/gallery.css b/assets/css/components/gallery.css index 3e7d1e64..339c9d1c 100644 --- a/assets/css/components/gallery.css +++ b/assets/css/components/gallery.css @@ -20,7 +20,7 @@ margin: 0px !important; } .grid-w33 { - width: calc(33% - 5px); + width: calc(33.33% - 5px); margin: 0px !important; } .grid-w35 { @@ -52,7 +52,7 @@ margin: 0px !important; } .grid-w66 { - width: calc(66% - 5px); + width: calc(66.66% - 5px); margin: 0px !important; } .grid-w70 { @@ -121,7 +121,7 @@ margin: 0px !important; } .sm\:grid-w33 { - width: calc(33% - 5px); + width: calc(33.33% - 5px); margin: 0px !important; } .sm\:grid-w35 { @@ -153,7 +153,7 @@ margin: 0px !important; } .sm\:grid-w66 { - width: calc(66% - 5px); + width: calc(66.66% - 5px); margin: 0px !important; } .sm\:grid-w70 { @@ -207,7 +207,7 @@ margin: 0px !important; } .md\:grid-w33 { - width: calc(33% - 5px); + width: calc(33.33% - 5px); margin: 0px !important; } .md\:grid-w35 { @@ -239,7 +239,7 @@ margin: 0px !important; } .md\:grid-w66 { - width: calc(66% - 5px); + width: calc(66.66% - 5px); margin: 0px !important; } .md\:grid-w70 { @@ -293,7 +293,7 @@ margin: 0px !important; } .lg\:grid-w33 { - width: calc(33% - 5px); + width: calc(33.33% - 5px); margin: 0px !important; } .lg\:grid-w35 { @@ -325,7 +325,7 @@ margin: 0px !important; } .lg\:grid-w66 { - width: calc(66% - 5px); + width: calc(66.66% - 5px); margin: 0px !important; } .lg\:grid-w70 { @@ -379,7 +379,7 @@ margin: 0px !important; } .xl\:grid-w33 { - width: calc(33% - 5px); + width: calc(33.33% - 5px); margin: 0px !important; } .xl\:grid-w35 { @@ -411,7 +411,7 @@ margin: 0px !important; } .xl\:grid-w66 { - width: calc(66% - 5px); + width: calc(66.66% - 5px); margin: 0px !important; } .xl\:grid-w70 { @@ -465,7 +465,7 @@ margin: 0px !important; } .\32xl\:grid-w33 { - width: calc(33% - 5px); + width: calc(33.33% - 5px); margin: 0px !important; } .\32xl\:grid-w35 { @@ -497,7 +497,7 @@ margin: 0px !important; } .\32xl\:grid-w66 { - width: calc(66% - 5px); + width: calc(66.66% - 5px); margin: 0px !important; } .\32xl\:grid-w70 {