Skip to content

Commit

Permalink
Doc: Override location of lock (custom-cards#336)
Browse files Browse the repository at this point in the history
Add an example how to override the location of the lock as discussed in custom-cards#335

Co-authored-by: Jérôme W <jerome@wnetworks.org>
  • Loading branch information
gerard33 and RomRider authored Sep 27, 2020
1 parent 23863a6 commit 432c038
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ lock:
exemptions: []
```

By default the lock is visible in the upper-right corner. If you want to move the position of the lock to for example the bottom-right corner you can use this code:
```yaml
styles:
lock:
- justify-content: flex-end
- align-items: flex-end
```

### State

| Name | Type | Default | Supported options | Description |
Expand Down

0 comments on commit 432c038

Please sign in to comment.