From df7bd253f86e89c7ce83ce5369ee3e23ca173395 Mon Sep 17 00:00:00 2001 From: brian teeman Date: Fri, 25 Nov 2022 14:12:43 +0000 Subject: [PATCH] [4,3] joomla alert icons It always bugs me that the icon in the alert is off-center. (and someone else because there was an issue in the past but I cant find it now). This simple PR sets the correct line height which re-centers the icon which I assume was the original intent based on the original css and the bootstrap alert it is inspired by. To test you will need to either use a prebuilt package or apply the pr and `npm run build:css` ## Before ## After --- .../atum/scss/vendor/joomla-custom-elements/joomla-alert.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/build/media_source/templates/administrator/atum/scss/vendor/joomla-custom-elements/joomla-alert.scss b/build/media_source/templates/administrator/atum/scss/vendor/joomla-custom-elements/joomla-alert.scss index 6efacccc73dde..37e6a51c97f26 100644 --- a/build/media_source/templates/administrator/atum/scss/vendor/joomla-custom-elements/joomla-alert.scss +++ b/build/media_source/templates/administrator/atum/scss/vendor/joomla-custom-elements/joomla-alert.scss @@ -21,6 +21,7 @@ flex-direction: column; justify-content: center; padding: .8rem; + line-height: normal; color: var(--white); background: var(--alert-accent-color, var(--template-bg-dark)); align-content: center;