fix(mod-queue): close CSS breakpoint gap and remove duplicate time-ago rendering

This commit is contained in:
plebeius
2026-01-13 15:16:30 +01:00
parent e3431a9acb
commit ab98bd0a87
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -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;
} }
+1 -7
View File
@@ -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>
) )