fix: Trigger borders should be rounded (#2172)

- Closes #2107
This commit is contained in:
Dermot Duffy
2025-09-01 14:46:47 -07:00
committed by GitHub
parent 79c27c43b8
commit daeb890fea
4 changed files with 10 additions and 4 deletions
+2 -2
View File
@@ -46,10 +46,10 @@
cursor: grabbing;
}
:host([direction='vertical']) ::slotted(.embla__slide) {
:host([direction='vertical']) ::slotted(.embla__slide:not(:last-of-type)) {
margin-bottom: 5px;
}
:host([direction='horizontal']) ::slotted(.embla__slide) {
:host([direction='horizontal']) ::slotted(.embla__slide:not(:last-of-type)) {
margin-right: 5px;
}
+4
View File
@@ -6,6 +6,10 @@
// Keep carousel controls relative to the media carousel itself.
position: relative;
// See: https://github.com/dermotduffy/advanced-camera-card/issues/2107
border-radius: var(--ha-card-border-radius, 4px);
overflow: hidden;
}
// When the carousel is not part of a grid ensure its height matches its
-2
View File
@@ -23,8 +23,6 @@
::slotted(*) {
box-sizing: border-box;
border-radius: var(--ha-card-border-radius, 4px);
overflow: hidden;
width: var(--advanced-camera-card-grid-column-size);
// Unselected items included a transparent border to act as the effective
+4
View File
@@ -6,6 +6,10 @@
// Keep carousel controls relative to the media carousel itself.
position: relative;
// See: https://github.com/dermotduffy/advanced-camera-card/issues/2107
border-radius: var(--ha-card-border-radius, 4px);
overflow: hidden;
}
// When the carousel is not part of a grid ensure its height matches its