mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(alert): remove borders from checkboxes and radios
also fixed the border width for retina references #5133
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user