mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(mod-queue): close CSS breakpoint gap and remove duplicate time-ago rendering
This commit is contained in:
@@ -313,7 +313,7 @@ span.reject:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Mobile Layout - keeps table structure like desktop, just narrower columns */
|
/* Mobile Layout - keeps table structure like desktop, just narrower columns */
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 639px) {
|
||||||
.container {
|
.container {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -236,13 +236,7 @@ const ModQueueRow = ({ comment, isOdd = false }: ModQueueRowProps) => {
|
|||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
// On mobile, show shorter time ago format without tooltip
|
// On mobile, show shorter time ago format without tooltip
|
||||||
isAwaitingApproval && isOverThreshold ? (
|
isAwaitingApproval && isOverThreshold ? (
|
||||||
<>
|
<span className={styles.alert}>{getFormattedTimeAgo(timestamp)}</span>
|
||||||
<span>{getFormattedTimeAgo(timestamp)}</span>
|
|
||||||
<span className={styles.alertWrapper}>
|
|
||||||
{' '}
|
|
||||||
(<span className={styles.alert}>{getFormattedTimeAgo(timestamp)}</span>)
|
|
||||||
</span>
|
|
||||||
</>
|
|
||||||
) : (
|
) : (
|
||||||
<span>{getFormattedTimeAgo(timestamp)}</span>
|
<span>{getFormattedTimeAgo(timestamp)}</span>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user