From ed22463b9cf37115ebbe58f0880684ba1d6d2f81 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 8 May 2024 11:39:49 +0200 Subject: [PATCH] MOBILE- 4470 alert: Remove vertical padding from buttons --- src/theme/components/ion-alert.scss | 7 +++++++ src/theme/theme.scss | 1 + 2 files changed, 8 insertions(+) create mode 100644 src/theme/components/ion-alert.scss diff --git a/src/theme/components/ion-alert.scss b/src/theme/components/ion-alert.scss new file mode 100644 index 000000000..1ceabab86 --- /dev/null +++ b/src/theme/components/ion-alert.scss @@ -0,0 +1,7 @@ +ion-alert { + &.md .alert-button { + // Remove padding from alert buttons, they already have min accessibility height. + padding-top: 0px; + padding-bottom: 0px; + } +} diff --git a/src/theme/theme.scss b/src/theme/theme.scss index 04e068e5c..77646e4ff 100644 --- a/src/theme/theme.scss +++ b/src/theme/theme.scss @@ -29,6 +29,7 @@ /* Ionic components overrides */ html { @import "components/ion-action-sheet.scss"; + @import "components/ion-alert.scss"; @import "components/ion-back-button.scss"; @import "components/ion-button.scss"; @import "components/ion-card.scss";