Skip to content

Commit

Permalink
fix(platform): fix gap not support in old browser
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejay97 committed Mar 10, 2023
1 parent 0785852 commit a922ff7
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
@import '~styles/module';

@include b(exception) {
@include polyfill-row-gap(20px);

display: flex;
flex-direction: column;
gap: 20px 100px;
align-items: center;
width: 100%;
padding: 10% 20px 20px;
Expand All @@ -28,6 +29,7 @@

@include media-breakpoint-up(md) {
align-items: flex-start;
margin-left: 100px;
}
}

Expand Down
3 changes: 2 additions & 1 deletion packages/platform/src/app/routes/login/Login.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
}

@include e(link-container) {
@include polyfill-column-gap(12px);

display: flex;
gap: 0 12px;
}
}
5 changes: 4 additions & 1 deletion packages/platform/src/styles/components/detail-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
}

@include e(item-label) {
margin-right: 0;
margin-bottom: 8px;

&::after {
content: none;
}
Expand All @@ -13,7 +16,6 @@

@include e(item) {
display: inline-flex;
gap: 8px 12px;

@include m(center) {
align-items: center;
Expand All @@ -22,6 +24,7 @@

@include e(item-label) {
flex-shrink: 0;
margin-right: 12px;
color: var(--#{$rd-prefix}text-color-sub);

&::after {
Expand Down
8 changes: 5 additions & 3 deletions packages/platform/src/styles/components/route-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
background-color: var(--#{$rd-prefix}background-color);

@include e(breadcrumb) {
height: 40px;
min-height: 40px;
}

@include e(breadcrumb-link) {
Expand All @@ -21,9 +21,10 @@
}

@include e(header) {
@include polyfill-gap(12px, 20px);

display: flex;
flex-wrap: wrap;
gap: 12px 20px;
align-items: center;
justify-content: space-between;
padding-bottom: 16px;
Expand Down Expand Up @@ -60,9 +61,10 @@
}

@include e(header-actions) {
@include polyfill-gap(8px, 8px);

display: inline-flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
}
2 changes: 1 addition & 1 deletion packages/platform/src/styles/components/status-dot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
--app-status-dot-color: var(--#{$rd-prefix}tag-background-color-fill);

display: inline-flex;
gap: 0 8px;
align-items: center;
vertical-align: top;

Expand Down Expand Up @@ -44,6 +43,7 @@
position: relative;
width: 6px;
height: 6px;
margin-right: 8px;
background-color: var(--app-status-dot-color);
border-radius: 50%;
}
Expand Down
3 changes: 2 additions & 1 deletion packages/platform/src/styles/components/table-filter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
}

@include e(button-container) {
@include polyfill-gap(12px, 8px);

display: flex;
flex-wrap: wrap;
gap: 12px 8px;
align-items: center;
}

Expand Down

0 comments on commit a922ff7

Please sign in to comment.