Skip to content

Commit 286fba6

Browse files
committed
fix trashcan icon for playing item in queue not fully showing
1 parent 1673aa0 commit 286fba6

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/components/media-row.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class MediaRow extends LitElement {
8484
display: flex;
8585
align-items: center;
8686
gap: 0.5rem;
87+
margin-left: 0.5rem;
8788
}
8889
`,
8990
mediaItemTitleStyle,

src/components/playing-bars.ts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ import { css, html, LitElement, nothing } from 'lit';
22
import { property } from 'lit/decorators.js';
33

44
class PlayingBars extends LitElement {
5-
@property({ type: Boolean }) show = false;
5+
@property({ type: Boolean }) show = false;
66

7-
render() {
8-
if (!this.show) {
9-
return nothing;
10-
}
11-
return html`
7+
render() {
8+
if (!this.show) {
9+
return nothing;
10+
}
11+
return html`
1212
<div class="bars">
1313
<div></div>
1414
<div></div>
1515
<div></div>
1616
</div>
1717
`;
18-
}
18+
}
1919

20-
static get styles() {
21-
return css`
20+
static get styles() {
21+
return css`
2222
@keyframes sound {
2323
0% {
2424
opacity: 0.35;
@@ -39,7 +39,6 @@ class PlayingBars extends LitElement {
3939
width: 0.55rem;
4040
height: 1rem;
4141
position: relative;
42-
margin-left: 1rem;
4342
}
4443
4544
.bars > div {
@@ -67,7 +66,7 @@ class PlayingBars extends LitElement {
6766
animation-duration: 407ms;
6867
}
6968
`;
70-
}
69+
}
7170
}
7271

7372
customElements.define('sonos-playing-bars', PlayingBars);

0 commit comments

Comments
 (0)