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

fix(console): prevent cell overflow for user table (#1215)

This commit is contained in:
Wang Sijie 2022-06-24 10:56:10 +08:00 committed by GitHub
parent 8d2f88b96d
commit f5de5196fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 9 deletions

View file

@ -9,15 +9,23 @@
margin-left: _.unit(3);
}
.title {
font: var(--font-body-medium);
color: var(--color-text-link);
text-decoration: none;
}
.content {
padding-right: _.unit(4);
max-width: 100%;
.subtitle {
font: var(--font-body-small);
color: var(--color-outline);
.title {
font: var(--font-body-medium);
color: var(--color-text-link);
text-decoration: none;
}
.subtitle {
font: var(--font-body-small);
color: var(--color-outline);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
&.compact {

View file

@ -31,7 +31,7 @@ const Preview = ({ signInExperience, className }: Props) => {
const light = { value: AppearanceMode.LightMode, title: t('sign_in_exp.preview.light') };
const dark = { value: AppearanceMode.DarkMode, title: t('sign_in_exp.preview.dark') };
if (!signInExperience?.branding.isDarkModeEnabled) {
if (!signInExperience?.color.isDarkModeEnabled) {
return [light];
}