mirror of
https://github.com/logto-io/logto.git
synced 2025-02-03 21:48:55 -05:00
fix(console): prevent cell overflow for user table (#1215)
This commit is contained in:
parent
8d2f88b96d
commit
f5de5196fb
2 changed files with 17 additions and 9 deletions
|
@ -9,6 +9,10 @@
|
||||||
margin-left: _.unit(3);
|
margin-left: _.unit(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
padding-right: _.unit(4);
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font: var(--font-body-medium);
|
font: var(--font-body-medium);
|
||||||
color: var(--color-text-link);
|
color: var(--color-text-link);
|
||||||
|
@ -18,6 +22,10 @@
|
||||||
.subtitle {
|
.subtitle {
|
||||||
font: var(--font-body-small);
|
font: var(--font-body-small);
|
||||||
color: var(--color-outline);
|
color: var(--color-outline);
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.compact {
|
&.compact {
|
||||||
|
|
|
@ -31,7 +31,7 @@ const Preview = ({ signInExperience, className }: Props) => {
|
||||||
const light = { value: AppearanceMode.LightMode, title: t('sign_in_exp.preview.light') };
|
const light = { value: AppearanceMode.LightMode, title: t('sign_in_exp.preview.light') };
|
||||||
const dark = { value: AppearanceMode.DarkMode, title: t('sign_in_exp.preview.dark') };
|
const dark = { value: AppearanceMode.DarkMode, title: t('sign_in_exp.preview.dark') };
|
||||||
|
|
||||||
if (!signInExperience?.branding.isDarkModeEnabled) {
|
if (!signInExperience?.color.isDarkModeEnabled) {
|
||||||
return [light];
|
return [light];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue