Comments (6)
@ptashek I fixed your issue with when using multiline_secondary
options with #1402.
It's available in 3.5.4 release.
@hrw The sections view is still experimental and cards are forced to fit the grid for now so it's not a Mushroom issue.
As I'm working in the HA front-end team, I can tell you that we are thinking about a way to resize card using the UI.
For now, using this yaml code on the card should fix your issue.
layout_options:
grid_rows: auto
from lovelace-mushroom.
Seeing the same with HA 2024.3 + Mushroom 3.5.2 and sections layout.
It looks like in the sections layout, there is a parent div
wrapper around the mushroom card container, which has a fit-rows
and a card
class applied to it. That selector defines only one attribute: height
.card.fit-rows {
height: calc((var(--row-size, 1)*(var(--grid-row-height) + var(--grid-gap))) - var(--grid-gap));
}
When this style is disabled in dev tools, the card renders as expected, and same as in the masonry layout.
from lovelace-mushroom.
Maybe correlated with the fact that the card do not fill orizontally the column even if "fill container" is selected?
from lovelace-mushroom.
Same issue for me.
It is most visible when using two chips-stacks below each other.
from lovelace-mushroom.
@piitaya your suggestion about the grid rows, would this also fix the gap we now have while using chips and the new sections layout? cfr example below.
Because adding
card_mod:
style: |
ha-card {
margin-bottom: -66px;
}
to the chips card has no effect.
But I do not understand your ayout_options
suggestion, where and how should this be added?
from lovelace-mushroom.
i have the same issue
i found a hacky way to fix it by going into developer tools and override the --row-height
variable to 33px on the .container
element that contains the chip cards but i havent found a way to fix this using the card mod (because it's outside the mushroomcard element)
the result
from lovelace-mushroom.
Related Issues (20)
- [Bug]: Select Card - When selecting from the dropdown, the remaining card disappears. HOT 2
- [Feature]: add a range slider (2 headed slider) HOT 2
- [Bug]: Secondary information not rendered in Template Card HOT 1
- [Feature]: Energy entity card
- [Feature]: Secondary Info custom text HOT 1
- [Feature]: Call more-info/call-service of different entities - with tap, double-click or hold action / Template Cards HOT 1
- [Bug]: Entity chip card always show icon, even with icon_type: none
- [Feature]: Layout Features on some cards to work with the new sectional lovelace pages
- [Bug]: <Template Card tap-action: more-info> HOT 2
- [Bug]: Secondary drop down position changed between v3.5.2 and v3.5.4
- template-cards custom buttons HOT 1
- [Bug]: Mushroom entities disappear
- [Feature]: More responsive `custom:mushroom-entity-card` HOT 5
- [Feature]: Title Card: Continuously Rerender Template
- [Feature]: List of all Color Descriptions that can be used in Template Card
- [Bug]: Visual editor not working for service calls with target floor_id
- [Feature]: Can I add an icon_color to the Cover Card ?
- [Feature]: Alarm Card - Add additional color style options for arming and pending
- [Feature]: Horizontal scroll for chip cards
- [Feature]: Chips card alignment bottom up HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-mushroom.