mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
refactor: drop className .full in favor of :not(.compact) (#7354)
This commit is contained in:
@@ -668,7 +668,7 @@ a {
|
||||
border-radius: 3px;
|
||||
height: 18px;
|
||||
|
||||
&.full {
|
||||
&:not(.compact) {
|
||||
flex-grow: 1;
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
@@ -234,7 +234,6 @@ export class TorrentRendererFull {
|
||||
|
||||
// progressbar
|
||||
TorrentRendererHelper.renderProgressbar(controller, torrent, progressbar);
|
||||
progressbar.classList.add('full');
|
||||
|
||||
// peer details
|
||||
TorrentRendererFull.renderPeerDetails(torrent, peer_details);
|
||||
@@ -250,7 +249,7 @@ export class TorrentRendererFull {
|
||||
['name', 'torrent-name'],
|
||||
['labels', 'torrent-labels'],
|
||||
['progress_details', 'torrent-progress-details'],
|
||||
['progressbar', 'torrent-progress-bar full'],
|
||||
['progressbar', 'torrent-progress-bar'],
|
||||
['peer_details', 'torrent-peer-details'],
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user