style(revisions): minor spacing adjustments to file table

This commit is contained in:
Elian Doran 2026-01-02 18:44:06 +02:00
parent 2840ea0f38
commit 2b2ef4251f
No known key found for this signature in database
2 changed files with 18 additions and 9 deletions

View File

@ -61,3 +61,12 @@ body.mobile .revisions-dialog {
height: fit-content; height: fit-content;
} }
} }
.revisions-dialog {
.file-preview-table {
th,
td {
padding: 0.25em 0;
}
}
}

View File

@ -359,7 +359,7 @@ function RevisionFooter({ note }: { note?: FNote }) {
function FilePreview({ revisionItem, fullRevision }: { revisionItem: RevisionItem, fullRevision: RevisionPojo }) { function FilePreview({ revisionItem, fullRevision }: { revisionItem: RevisionItem, fullRevision: RevisionPojo }) {
return ( return (
<table cellPadding="10"> <table className="file-preview-table">
<tbody> <tbody>
<tr> <tr>
<th>{t("revisions.mime")}</th> <th>{t("revisions.mime")}</th>