1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-13 07:33:02 +00:00

refactor: drop className .full in favor of :not(.compact) (#7354)

This commit is contained in:
Rukario 2025-03-04 06:21:23 -08:00 committed by GitHub
parent 52a12200b2
commit 43577e3df2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -668,7 +668,7 @@ a {
border-radius: 3px; border-radius: 3px;
height: 18px; height: 18px;
&.full { &:not(.compact) {
flex-grow: 1; flex-grow: 1;
margin: 2px 0; margin: 2px 0;
} }

View file

@ -234,7 +234,6 @@ export class TorrentRendererFull {
// progressbar // progressbar
TorrentRendererHelper.renderProgressbar(controller, torrent, progressbar); TorrentRendererHelper.renderProgressbar(controller, torrent, progressbar);
progressbar.classList.add('full');
// peer details // peer details
TorrentRendererFull.renderPeerDetails(torrent, peer_details); TorrentRendererFull.renderPeerDetails(torrent, peer_details);
@ -250,7 +249,7 @@ export class TorrentRendererFull {
['name', 'torrent-name'], ['name', 'torrent-name'],
['labels', 'torrent-labels'], ['labels', 'torrent-labels'],
['progress_details', 'torrent-progress-details'], ['progress_details', 'torrent-progress-details'],
['progressbar', 'torrent-progress-bar full'], ['progressbar', 'torrent-progress-bar'],
['peer_details', 'torrent-peer-details'], ['peer_details', 'torrent-peer-details'],
]; ];