Skip to content

Commit 04822f3

Browse files
authored
Fix border radius in full-cover mode (#824)
1 parent 20cda3d commit 04822f3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/style.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const style = css`
195195
background-size: cover;
196196
background-repeat: no-repeat;
197197
background-position: center center;
198-
border-radius: var(--ha-card-border-radius, 0);
198+
border-radius: var(--mmp-border-radius, 0);
199199
overflow: hidden;
200200
}
201201
.cover.--prev {
@@ -206,8 +206,6 @@ const style = css`
206206
}
207207
ha-card[artwork*='full-cover'].--has-artwork .mmp-player {
208208
background: linear-gradient(to top, var(--mmp-overlay-color) var(--mmp-overlay-color-stop), transparent 100%);
209-
border-bottom-left-radius: var(--ha-card-border-radius, 0);
210-
border-bottom-right-radius: var(--ha-card-border-radius, 0);
211209
}
212210
ha-card.--has-artwork .cover,
213211
ha-card.--has-artwork[artwork='cover'] .cover:before {

0 commit comments

Comments
 (0)