mirror of
https://github.com/usememos/memos.git
synced 2025-12-11 14:46:03 +08:00
chore: update word-break style (#164)
This commit is contained in:
parent
2aed7c70aa
commit
f784516470
3 changed files with 8 additions and 3 deletions
|
|
@ -42,6 +42,11 @@ a {
|
|||
@apply cursor-pointer text-blue-600 underline underline-offset-2 hover:opacity-80;
|
||||
}
|
||||
|
||||
code,
|
||||
pre {
|
||||
@apply break-all whitespace-pre-wrap;
|
||||
}
|
||||
|
||||
.btn {
|
||||
@apply select-none cursor-pointer text-center;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
@import "./mixin.less";
|
||||
|
||||
.memo-content-text {
|
||||
@apply w-full whitespace-pre-wrap break-all text-base leading-7;
|
||||
@apply w-full whitespace-pre-wrap break-words text-base leading-7;
|
||||
|
||||
> p {
|
||||
@apply inline-block w-full h-auto mb-1 last:mb-0 text-base leading-7 whitespace-pre-wrap break-all;
|
||||
@apply inline-block w-full h-auto mb-1 last:mb-0 text-base leading-7 whitespace-pre-wrap break-words;
|
||||
}
|
||||
|
||||
.img {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
> .toast-container {
|
||||
> .content-text {
|
||||
@apply text-sm whitespace-pre-wrap break-all leading-6 max-w-xs;
|
||||
@apply text-sm whitespace-pre-wrap break-words leading-6 max-w-xs;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue