MOBILE-3833 style: Use same card margin on ios and md

main
Pau Ferrer Ocaña 2022-02-23 15:24:04 +01:00
parent 6ecb08246b
commit 2fd8a72f39
4 changed files with 13 additions and 2 deletions

View File

@ -2,10 +2,10 @@
:host {
--horizontal-margin: 10px;
--vertical-margin: 10px;
ion-card {
margin-left: var(--horizontal-margin);
margin-right: var(--horizontal-margin);
margin: var(--vertical-margin) var(--horizontal-margin);
}
ion-item {

View File

@ -34,6 +34,10 @@
margin-bottom: 16px;
}
form .core-username.ios {
--inner-border-width: 0 0 1px 0;
}
form .item,
form .item ion-label {
--background: var(--core-login-input-background);

View File

@ -813,6 +813,7 @@ ion-card {
border-color: var(--border-color);
box-shadow: var(--box-shadow);
border-radius: var(--border-radius);
margin: var(--ion-card-vertical-margin) var(--ion-card-horizontal-margin);
ion-item:only-child {
--inner-border-width: 0px;
@ -1151,6 +1152,10 @@ ion-item.item-lines-inset {
--border-width: 0px;
}
ion-item.item-input.ios {
--inner-border-width: 0 0 1px 0;
}
// Fake item.
div.fake-ion-item {
position: relative;

View File

@ -88,6 +88,8 @@
--subdued-text-color: var(--gray-700);
--ion-card-color: var(--text-color);
--ion-card-vertical-margin: 10px;
--ion-card-horizontal-margin: 10px;
ion-card {
--border-width: 1px;
--border-style: solid;