From 17f76d302b7e29c35d546657ccdab047daddc0f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Rahir=20=28rar=29?= Date: Tue, 14 Nov 2023 20:10:48 +0100 Subject: [PATCH] [FIX] F&R: Fix css rule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The padding rule did not respect the web standards. It just happened to work on our demo sheet because the page is run in quirks mode, a mode that support web pages prior to the instoduction of the web standards. This rule probably never worked when the component was embedded in a "modern" web page. closes odoo/o-spreadsheet#3155 X-original-commit: 4db9ded9426575063b75c8ebb0ce8a84b525d808 Signed-off-by: Lucas Lefèvre (lul) Signed-off-by: Rémi Rahir (rar) --- src/components/side_panel/find_and_replace/find_and_replace.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/side_panel/find_and_replace/find_and_replace.ts b/src/components/side_panel/find_and_replace/find_and_replace.ts index 3fb73c234..65e089712 100644 --- a/src/components/side_panel/find_and_replace/find_and_replace.ts +++ b/src/components/side_panel/find_and_replace/find_and_replace.ts @@ -31,7 +31,7 @@ css/* scss */ ` } .o-input-count { width: fit-content; - padding: 4 0 4 4; + padding: 4px 0 4px 4px; } } }