From bd5678f907b2693cfb670f0577a4e99f8ad10493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souk=C3=A9ina=20Bojabza?= Date: Wed, 4 Oct 2023 16:56:23 +0200 Subject: [PATCH] [FIX] website: make the "Text Cover" snippet look good in grid mode Before this commit, toggling the "Text Cover" snippet to grid mode did not produce a good-looking result: the column containing the background image loses all its padding and therefore appears smaller and shifted compared to the normal mode. This commit adds a background color to the image column. Indeed, with a background color, and more precisely thanks to the `o_cc` class, the padding is taken into account when computing the grid items size, making them look similar to how they were in normal mode. task-3369695 Part-of: odoo/odoo#136683 --- addons/website/views/snippets/s_text_cover.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/views/snippets/s_text_cover.xml b/addons/website/views/snippets/s_text_cover.xml index 52fd8c0dc65..0390e713741 100644 --- a/addons/website/views/snippets/s_text_cover.xml +++ b/addons/website/views/snippets/s_text_cover.xml @@ -10,7 +10,7 @@

Write one or two paragraphs describing your product, services or a specific feature. To be successful your content needs to be useful to your readers.

Contact us -
+