[Glitch] Implement quote posts in Moderator UI

Port 210b3896439c3ec741be477bfc4054ef3705a76e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Emelia Smith 2025-10-16 15:40:24 +02:00 committed by Claire
parent 4c0104084d
commit 2b2de5cdb1
2 changed files with 64 additions and 39 deletions

View File

@ -1976,15 +1976,33 @@ a.sparkline {
box-sizing: border-box; box-sizing: border-box;
min-height: 100%; min-height: 100%;
&.status--has-quote {
.quote-inline {
display: none;
}
}
.status__quote & {
// Remove the border from the .status__card within .status__quote
border: none;
.display-name__account {
line-height: inherit;
}
.status__avatar,
.status__avatar .account__avatar {
width: 32px;
height: 32px;
}
}
.status__prepend { .status__prepend {
padding: 0 0 15px; padding: 0 0 15px;
gap: 4px; gap: 4px;
align-items: center; align-items: center;
} }
.status__content {
padding-top: 0;
> details { > details {
summary { summary {
display: block; display: block;
@ -2030,7 +2048,6 @@ a.sparkline {
} }
} }
} }
}
.preview-card { .preview-card {
position: relative; position: relative;
@ -2086,6 +2103,14 @@ a.sparkline {
} }
} }
} }
.detailed-status__meta {
.detailed-status__application,
.detailed-status__datetime,
.detailed-status__link {
color: inherit;
}
}
} }
.admin { .admin {

View File

@ -356,7 +356,7 @@ a.table-action-link {
// Reset the status card to not have borders, background or padding when // Reset the status card to not have borders, background or padding when
// inline in the table of statuses // inline in the table of statuses
.status__card { .batch-table__row__content > .status__card {
border: none; border: none;
background: none; background: none;
padding: 0; padding: 0;