Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to overrule standard position of lock #335

Closed
gerard33 opened this issue May 31, 2020 · 2 comments
Closed

Add possibility to overrule standard position of lock #335

gerard33 opened this issue May 31, 2020 · 2 comments
Labels
FR Feature Request

Comments

@gerard33
Copy link
Contributor

Is your feature request related to a problem? Please describe.
First of all, thanks for this great card. Using it for around 80% of my Lovelace configuration at the moment.

I have a FR for something that is not really a problem 😉 , but I would like to be able to change the position of the lock on the button card.

Describe the solution you'd like
Make it possible to overrule the standard location of the lock.

Describe alternatives you've considered
An alternative is changing the layout of my button-card, but I like it the way it currently is 😄

Additional context
button_card_with_lock

@gerard33 gerard33 added the FR Feature Request label May 31, 2020
@RomRider
Copy link
Collaborator

RomRider commented May 31, 2020

That's already possible:

styles:
  lock:
    - justify-content: flex-end
    - align-items: flex-end

This would put the lock in the bottom-right corner.

@gerard33
Copy link
Contributor Author

Great, couldn't find this in the readme file 🙈.
Thanks for the quick response! Just added this and works like a charme indeed. Closing the FR.

RomRider added a commit that referenced this issue Sep 27, 2020
Add an example how to override the location of the lock as discussed in #335

Co-authored-by: Jérôme W <[email protected]>
github-actions bot pushed a commit that referenced this issue Feb 17, 2021
## 1.0.0 (2021-02-17)

### Bug Fixes

* Support for `fire-dom-event` ([f4fcbfe](f4fcbfe)), closes [#429](#429)

### Documentation

* Override location of lock ([#336](#336)) ([432c038](432c038)), closes [#335](#335)
github-actions bot pushed a commit to Dehumanizer77/button-card that referenced this issue Jun 23, 2023
github-actions bot pushed a commit to Dehumanizer77/button-card that referenced this issue Jun 23, 2023
github-actions bot pushed a commit to Dehumanizer77/button-card that referenced this issue Jun 23, 2023
github-actions bot pushed a commit to Dehumanizer77/button-card that referenced this issue Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FR Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants