Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
f7845164
Unverified
Commit
f7845164
authored
Aug 23, 2022
by
boojack
Committed by
GitHub
Aug 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update `word-break` style (#164)
parent
2aed7c70
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
global.less
web/src/less/global.less
+5
-0
memo-content.less
web/src/less/memo-content.less
+2
-2
toast.less
web/src/less/toast.less
+1
-1
No files found.
web/src/less/global.less
View file @
f7845164
...
...
@@ -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;
}
web/src/less/memo-content.less
View file @
f7845164
@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 {
...
...
web/src/less/toast.less
View file @
f7845164
...
...
@@ -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;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment