0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

Merge pull request #2219 from logto-io/simeng-log-4435

fix(ui): fix text overflow issue
This commit is contained in:
simeng-li 2022-10-21 10:15:19 +08:00 committed by GitHub
commit 76b9c84295
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -11,8 +11,8 @@
-webkit-appearance: none; -webkit-appearance: none;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out;
white-space: nowrap;
user-select: none; user-select: none;
overflow: hidden;
} }
.large { .large {

View file

@ -31,6 +31,7 @@
.link { .link {
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
max-width: 20%;
} }
:global(body.desktop) { :global(body.desktop) {

View file

@ -22,6 +22,7 @@ body {
background-color: var(--color-base); background-color: var(--color-base);
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: auto; -moz-osx-font-smoothing: auto;
word-break: break-word;
} }
.container { .container {