@@ -46,10 +46,10 @@
|
|||||||
cursor: grabbing;
|
cursor: grabbing;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([direction='vertical']) ::slotted(.embla__slide) {
|
:host([direction='vertical']) ::slotted(.embla__slide:not(:last-of-type)) {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([direction='horizontal']) ::slotted(.embla__slide) {
|
:host([direction='horizontal']) ::slotted(.embla__slide:not(:last-of-type)) {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
// Keep carousel controls relative to the media carousel itself.
|
// Keep carousel controls relative to the media carousel itself.
|
||||||
position: relative;
|
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
|
// When the carousel is not part of a grid ensure its height matches its
|
||||||
|
|||||||
@@ -23,8 +23,6 @@
|
|||||||
|
|
||||||
::slotted(*) {
|
::slotted(*) {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: var(--ha-card-border-radius, 4px);
|
|
||||||
overflow: hidden;
|
|
||||||
width: var(--advanced-camera-card-grid-column-size);
|
width: var(--advanced-camera-card-grid-column-size);
|
||||||
|
|
||||||
// Unselected items included a transparent border to act as the effective
|
// Unselected items included a transparent border to act as the effective
|
||||||
|
|||||||
@@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
// Keep carousel controls relative to the media carousel itself.
|
// Keep carousel controls relative to the media carousel itself.
|
||||||
position: relative;
|
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
|
// When the carousel is not part of a grid ensure its height matches its
|
||||||
|
|||||||
Reference in New Issue
Block a user