From b424866b19c67e0b52ce37b20e77028e1cdd8ebb Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 22 Jan 2016 14:25:02 -0500 Subject: [PATCH] fix(alert): remove borders from checkboxes and radios also fixed the border width for retina references #5133 --- ionic/components/alert/alert.ios.scss | 10 +++++----- ionic/components/alert/alert.md.scss | 7 +------ 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/ionic/components/alert/alert.ios.scss b/ionic/components/alert/alert.ios.scss index 7d6cd57b7f..6015b4f9ca 100644 --- a/ionic/components/alert/alert.ios.scss +++ b/ionic/components/alert/alert.ios.scss @@ -107,12 +107,7 @@ ion-alert { .alert-tappable { display: flex; min-height: $alert-ios-button-min-height; - border-top: 1px solid $alert-ios-button-border-color; cursor: pointer; - - &:first-child { - border-top: 0; - } } @@ -199,6 +194,11 @@ ion-alert { } &.hairlines { + .alert-radio-group, + .alert-checkbox-group { + border-width: 0.55px; + } + .alert-input { border-width: 0.55px; } diff --git a/ionic/components/alert/alert.md.scss b/ionic/components/alert/alert.md.scss index 4d3182e59a..7a7811945a 100644 --- a/ionic/components/alert/alert.md.scss +++ b/ionic/components/alert/alert.md.scss @@ -87,7 +87,7 @@ $alert-md-buttons-justify-content: flex-end !default; .alert-checkbox-group { position: relative; border-top: 1px solid $alert-md-input-border-color; - border-bottom: 1px solid $alert-md-input-border-color; + border-bottom: 1px solid $alert-md-input-border-color; max-height: 240px; overflow: auto; } @@ -97,12 +97,7 @@ $alert-md-buttons-justify-content: flex-end !default; overflow: hidden; display: flex; min-height: 44px; - border-top: 1px solid $alert-md-input-border-color; cursor: pointer; - - &:first-child { - border-top: 0; - } }