Skip to content

Commit

Permalink
style: make preview more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Dec 4, 2023
1 parent 7a53516 commit 4926fe7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 4 additions & 3 deletions static/style/inverted-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -511,11 +511,12 @@
/* justify-content: space-between; */
margin-bottom: 8px;
}
.preview-header > a {

.preview-header > a {
word-wrap: initial;
}
.preview-header > a > h1 {
word-wrap: initial;
word-break: normal;
}
.preview-body {
margin: 16px;
Expand All @@ -533,7 +534,7 @@
right: 0;
top: 0;
margin: 8px;
height: 48px;
/* height: 48px; */
}
.preview li {
margin-bottom: 8px;
Expand Down
8 changes: 6 additions & 2 deletions static/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,10 @@
pointer-events: none;
}
.preview p {
line-height: 1.25;
line-height: 1.5;
word-break: break-word;
margin-bottom: 12px;
letter-spacing: 0;
}
.preview img {
max-width: 100%;
Expand Down Expand Up @@ -511,7 +512,9 @@
/* justify-content: space-between; */
margin-bottom: 8px;
}
.preview-header > a {word-wrap: initial;}
.preview-header > a {
word-wrap: initial;
}
.preview-header > a > h1 {
word-wrap: initial;
word-break: normal;
Expand All @@ -536,5 +539,6 @@
}
.preview li {
margin-bottom: 8px;
letter-spacing: 0;
}
}

0 comments on commit 4926fe7

Please sign in to comment.