Skip to content

Commit

Permalink
Fix border radius in full-cover mode (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
Drafteed committed Jan 26, 2024
1 parent 20cda3d commit 04822f3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const style = css`
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
border-radius: var(--ha-card-border-radius, 0);
border-radius: var(--mmp-border-radius, 0);
overflow: hidden;
}
.cover.--prev {
Expand All @@ -206,8 +206,6 @@ const style = css`
}
ha-card[artwork*='full-cover'].--has-artwork .mmp-player {
background: linear-gradient(to top, var(--mmp-overlay-color) var(--mmp-overlay-color-stop), transparent 100%);
border-bottom-left-radius: var(--ha-card-border-radius, 0);
border-bottom-right-radius: var(--ha-card-border-radius, 0);
}
ha-card.--has-artwork .cover,
ha-card.--has-artwork[artwork='cover'] .cover:before {
Expand Down

0 comments on commit 04822f3

Please sign in to comment.