Skip to content

Commit 8ff41a3

Browse files
committed
revise styles
Checked with Carl and updated the style of the play button.
1 parent f3d1a91 commit 8ff41a3

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/components/library-item/library-item.css

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
overflow: hidden; /* Mask the icon animation */
211211
width: 1.5rem;
212212
height: 1.5rem;
213-
background-color: $motion-primary;
213+
background-color: $sound-primary;
214214
color: $ui-white;
215215
border-radius: 50%;
216216
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
@@ -221,8 +221,7 @@
221221

222222
.play-button {
223223
position: absolute;
224-
position: absolute;
225-
top: 0.125rem;
224+
top: .5rem;
226225
z-index: auto;
227226
}
228227

@@ -235,11 +234,9 @@
235234
}
236235

237236
[dir="ltr"] .play-button {
238-
right: 0.125rem;
239-
padding-left: .125rem;
237+
left: .5rem;
240238
}
241239

242240
[dir="rtl"] .play-button {
243-
left: 0.125rem;
244-
padding-right: .125rem;
241+
right: .5rem;
245242
}

0 commit comments

Comments
 (0)