Replies: 1 comment 1 reply
-
You need to create a theme in your configuration.yaml. IME, hui-sections-view doesn't work; I used hui-view. Here's mine, for example:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm trying to set up navbar, everything is ok, except one problem – I can't realize how to add padding for mobile and remove colliding cards with navbar. I know that I should use cardmod, but I don't know how to do that. Where should I add this:
your_theme:
card-mod-theme: your_theme
card-mod-root-yaml: |
.: |
/* Add padding to the left (or other sides, depending on your navbar position) for desktop screens */
@media (min-width: 768px) {
hui-sections-view {
padding-left: 100px !important;
}
}
Beta Was this translation helpful? Give feedback.
All reactions