font size

This commit is contained in:
Mateusz Gruszczyński
2026-06-03 23:18:39 +02:00
parent 6365ee3a88
commit 0877dbdf0f
9 changed files with 22 additions and 17 deletions
+3 -10
View File
@@ -411,6 +411,7 @@ body {
position: relative;
}
.torrent-table {
font-size: var(--torrent-list-font-size, 13px);
margin: 0;
white-space: nowrap;
table-layout: fixed;
@@ -1024,6 +1025,7 @@ body.resizing-details {
background: var(--bs-body-bg);
}
.mobile-card {
font-size: var(--torrent-list-font-size, 13px);
border: 1px solid var(--bs-border-color);
background: rgba(var(--bs-secondary-bg-rgb), 0.72);
border-radius: 0.75rem;
@@ -5463,11 +5465,7 @@ body,
}
}
/* Compact torrent list density */
body.compact-torrent-list .torrent-table {
font-size: 0.82rem;
}
/* Compact torrent list density. Font size is controlled only by the Torrent list font slider. */
body.compact-torrent-list .torrent-table tbody tr {
height: 24px;
}
@@ -5479,7 +5477,6 @@ body.compact-torrent-list .torrent-table > :not(caption) > * > * {
body.compact-torrent-list .torrent-table .badge,
body.compact-torrent-list .torrent-table .chip {
font-size: 0.68rem;
padding: 0.08rem 0.34rem;
}
@@ -5503,7 +5500,6 @@ body.compact-torrent-list .mobile-list {
body.compact-torrent-list .mobile-card {
border-radius: 0.55rem;
font-size: 0.82rem;
margin-bottom: 0.35rem;
padding: 0.42rem;
}
@@ -5513,12 +5509,10 @@ body.compact-torrent-list .mobile-card-header {
}
body.compact-torrent-list .mobile-card .name {
font-size: 0.88rem;
line-height: 1.16;
}
body.compact-torrent-list .mobile-card .small {
font-size: 0.72rem;
line-height: 1.18;
}
@@ -5531,7 +5525,6 @@ body.compact-torrent-list .mobile-actions .btn-xs,
body.compact-torrent-list .mobile-details-btn {
--bs-btn-padding-x: 0.28rem;
--bs-btn-padding-y: 0.08rem;
--bs-btn-font-size: 0.68rem;
}
body.compact-torrent-list .mobile-progress {