From 28c817b7ed87a3bcaf9cf85cb596353b48370f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 4 Apr 2022 10:55:19 +0200 Subject: [PATCH 1/2] MOBILE-3833 style: Style hr when comes from WS --- src/addons/mod/data/data.scss | 5 ++++- src/theme/components/format-text.scss | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/addons/mod/data/data.scss b/src/addons/mod/data/data.scss index 0714c8760..b844da080 100644 --- a/src/addons/mod/data/data.scss +++ b/src/addons/mod/data/data.scss @@ -57,14 +57,17 @@ $grid-column-paddings: ( // Do not let block elements to define widths or heights. address, article, aside, blockquote, canvas, dd, div, dl, dt, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, - header, hr, li, main, nav, noscript, ol, p, pre, section, table, tfoot, ul, video { + header, li, main, nav, noscript, ol, p, pre, section, table, tfoot, ul, video { width: auto !important; height: auto !important; min-width: auto !important; min-height: auto !important; // Avoid having one entry over another. max-height: none !important; + } + hr { + border-top: 1px solid var(--stroke); } } } diff --git a/src/theme/components/format-text.scss b/src/theme/components/format-text.scss index d2a47fe51..fa6dbe4a0 100644 --- a/src/theme/components/format-text.scss +++ b/src/theme/components/format-text.scss @@ -218,6 +218,10 @@ core-rich-text-editor .core-rte-editor { margin-block-start: 0; } + hr { + border-top: 1px solid var(--stroke); + } + .no-overflow { overflow: auto; } From 823bf576b0ff5f393f66071491347ef412f0e3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 4 Apr 2022 10:57:11 +0200 Subject: [PATCH 2/2] MOBILE-3833 database: Change single entry icon --- .../mod/data/components/action/addon-mod-data-action.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addons/mod/data/components/action/addon-mod-data-action.html b/src/addons/mod/data/components/action/addon-mod-data-action.html index 09676dcea..475b66e28 100644 --- a/src/addons/mod/data/components/action/addon-mod-data-action.html +++ b/src/addons/mod/data/components/action/addon-mod-data-action.html @@ -1,5 +1,5 @@ - +