Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Clooos authored Aug 30, 2023
1 parent a626dd2 commit ece7c5e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ This card allows you to convert any `vertical-stack` card into a pop-up. Each po
| `margin_top_mobile` | string | Optional | Any CSS value | Top margin on mobile (e.g. `-56px` if your header is hidden) |
| `margin_top_desktop` | string | Optional | Any CSS value | Top margin on desktop (e.g. `50%` for an half sized pop-up) |

### Example
### Pop-up example

```yaml
type: vertical-stack
Expand All @@ -91,6 +91,15 @@ cards:
margin_top_mobile: 18px
margin_top_desktop: 74px
```
A button to open the pop-up
```yaml
type: button
tap_action:
action: navigate
navigation_path: '#kitchen'
name: Kitchen
icon: mdi:fridge
```
## Horizontal buttons stack
Expand Down

0 comments on commit ece7c5e

Please sign in to comment.