You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a mushroom-template-card inside a stack-in-card, the clickable area is limited to the left side of the card, even though the card itself spans the full width.
Expected behavior
The entire card should be clickable, as it is when using the mushroom-template-card standalone.
Current behavior
Only the left portion of the card is clickable, although the visual elements span the full width.
Reproduction steps
Create a dashboard with this code:
`type: vertical-stack
cards:
Release with the issue: 0.2.0
The problem
When using a mushroom-template-card inside a stack-in-card, the clickable area is limited to the left side of the card, even though the card itself spans the full width.
Expected behavior
The entire card should be clickable, as it is when using the mushroom-template-card standalone.
Current behavior
Only the left portion of the card is clickable, although the visual elements span the full width.
Reproduction steps
`type: vertical-stack
cards:
type: custom:stack-in-card
card_mod:
style: |
ha-card {
cards:
type: custom:mushroom-template-card
primary: ""
secondary: ""
icon: mdi:home
picture: >
{% if states('calendar.ovulationsphase') == "on"
%}/local/person/valentina/ovulando.jpg
{% else %}/local/person/valentina/casa.jpg
{% endif %}
tap_action:
action: navigate
navigation_path: "#Zyklus_Valentina"
card_mod:
style: |
ha-card {
border: 0px;
}
type: custom:atomic-calendar-revive
defaultMode: Event
noEventsForNextDaysText: Zwischenphasen
showEventIcon: true
showRelativeTime: true
showAllDayHours: false
showMonth: true
showWeekDay: true
entities:
icon: mdi:water
color: pink
icon: mdi:flower
color: pink
card_mod:
style: |
ha-card {
margin-left: 50px;
margin-top: -60px;
border: 0px;
}
.relative-time {
margin-top: -20px;
color: white!important;
}
.event-date-week-day{
color: white!important;
}
.event-date-month{
color: white!important;
}
.event-date-day{
color: white!important;
}
type: vertical-stack
cards:
type: custom:bubble-card
card_type: pop-up
name: Menstruationszyklus
icon: mdi:gender-female
hash: "#Zyklus_Valentina"
type: custom:stack-in-card
card_mod:
style: >
ha-card {
cards:
type: custom:mushroom-template-card
primary: >
{% if states('calendar.ovulationsphase') == "on" %}Ovulationsphase
{% elif states('calendar.menstruationsphase') == "on"
%}Menstruationsphase
{% else %}Zwischenphasen
{% endif %}
secondary: ""
icon: |
{% if states('calendar.ovulationsphase') == "on" %}mdi:flower
{% elif states('calendar.menstruationsphase') == "on" %}mdi:water
{% else %}mdi:gender-female
{% endif %}
icon_color: white
layout: vertical
tap_action:
action: none
card_mod:
style: |
ha-card { margin-top:30px; }
type: custom:bubble-card
card_type: separator
name: Kalender
icon: mdi:calendar-month
type: custom:atomic-calendar-revive
defaultMode: Calendar
entities:
icon: mdi:water
color: crimson
icon: mdi:flower
color: pink
showMultiDay: true
showLastCalendarWeek: false
calShowDescription: false
disableCalEventLink: true
disableCalLocationLink: false
disableCalLink: true
dimFinishedEvents: false
hideDuplicates: false
showLoader: false
compactMode: false
card_mod:
style: |
ha-card {
background: transparent;
border: 0px;
box-shadow: none;
margin-top: -50px;
margin-bottom: -50px;
height: 350px!important;
padding: 0px!important;
}
.calDateSelector {
visibility: hidden;
}
.summary-event-div {
visibility: hidden;
}
.summary-fullday-div-accepted {
visibility: hidden;
}
.calIcon {
--mdc-icon-size: 15px !important;
}
td.cal {
background: linear-gradient(330deg, rgba(52,25,43,1), rgba(64,34,54,1));
--cal-day-color: white!important;
}
.currentDay {
background: #85747f!important;
}
type: custom:bubble-card
card_type: separator
name: Demnächst
icon: mdi:timelapse
card_mod:
style: |
ha-card {
margin-bottom: -10px;
}
type: custom:atomic-calendar-revive
defaultMode: Event
noEventsForNextDaysText: Zwischenphasen
showEventIcon: true
showRelativeTime: true
showAllDayHours: false
showMonth: true
showWeekDay: true
entities:
icon: mdi:water
color: pink
icon: mdi:flower
color: pink
card_mod:
style: |
ha-card {
background: transparent!important;
box-shadow: none!important;
border: 0px;
margin-left: 5px;
margin-right: 5px;
padding: 0px!important;
}
.relative-time {
margin-top: -20px;
}
`
Environment
Additional information
The text was updated successfully, but these errors were encountered: