0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

fix(console): details page should not be shrinked (#1338)

This commit is contained in:
Xiao Yijun 2022-07-01 14:39:38 +08:00 committed by GitHub
parent b14f7ba2c0
commit d73663af27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 17 deletions

View file

@ -62,30 +62,33 @@
} }
.details { .details {
display: flex; white-space: nowrap;
align-items: center;
> * {
display: inline-block;
}
> :not(:first-child) { > :not(:first-child) {
margin-left: _.unit(2); margin-left: _.unit(2);
} }
}
.type { .type {
background-color: var(--color-surface-variant); background-color: var(--color-surface-variant);
color: var(--color-text); color: var(--color-text);
padding: _.unit(0.5) _.unit(2); padding: _.unit(0.5) _.unit(2);
border-radius: 10px; border-radius: 10px;
font: var(--font-label-medium); font: var(--font-label-medium);
} }
.text { .text {
font: var(--font-subhead-2); font: var(--font-subhead-2);
color: var(--color-caption); color: var(--color-caption);
} }
.verticalBar { .verticalBar {
@include _.vertical-bar; @include _.vertical-bar;
height: 12px; height: 12px;
}
} }
} }
} }

View file

@ -4,6 +4,7 @@
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-width: min-content;
> *:not(:first-child) { > *:not(:first-child) {
margin-top: _.unit(4); margin-top: _.unit(4);