mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
text-wrap: pretty attempt again
This commit is contained in:
parent
48b505b382
commit
fd7caca039
5 changed files with 9 additions and 1 deletions
|
@ -254,6 +254,7 @@
|
|||
.account-container .note {
|
||||
font-size: 95%;
|
||||
line-height: 1.4;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
.account-container .note:not(:has(p)):not(:empty) {
|
||||
/* Some notes don't have <p> tags, so we need to add some padding */
|
||||
|
|
|
@ -57,6 +57,7 @@ export default function MediaAltModal({ alt, lang, onClose }) {
|
|||
<p
|
||||
style={{
|
||||
whiteSpace: 'pre-wrap',
|
||||
textWrap: 'pretty',
|
||||
}}
|
||||
>
|
||||
{alt}
|
||||
|
|
|
@ -603,6 +603,7 @@
|
|||
margin-block: min(0.75em, 12px);
|
||||
white-space: pre-wrap;
|
||||
tab-size: 2;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
.status .content p:first-child {
|
||||
margin-block-start: 0;
|
||||
|
@ -726,6 +727,7 @@
|
|||
white-space: pre-line;
|
||||
flex-basis: 15em;
|
||||
flex-grow: 1;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1203,6 +1205,7 @@ a:focus-visible .card img {
|
|||
box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
text-wrap: balance;
|
||||
}
|
||||
.card .meta {
|
||||
font-size: smaller;
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
.status-translation-block .translated-block output {
|
||||
display: block;
|
||||
margin-top: 0.75em;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
.status-translation-block
|
||||
.translated-block
|
||||
|
|
|
@ -162,9 +162,10 @@
|
|||
flex-grow: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.notification-content p:first-child {
|
||||
.notification-content > p:first-child {
|
||||
margin-top: 0;
|
||||
margin-bottom: 8px;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
.notification-group-statuses {
|
||||
|
@ -407,6 +408,7 @@
|
|||
margin-block: min(0.75em, 12px);
|
||||
white-space: pre-wrap;
|
||||
tab-size: 2;
|
||||
text-wrap: pretty;
|
||||
}
|
||||
.announcements .announcement-reactions:not(:hidden) {
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in a new issue