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:
parent
52a12200b2
commit
43577e3df2
2 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue