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:
parent
8d2f88b96d
commit
f5de5196fb
2 changed files with 17 additions and 9 deletions
|
@ -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 {
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue