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

Fix alignment of light sensor stats #1285

Merged
merged 1 commit into from
Apr 6, 2022
Merged

Fix alignment of light sensor stats #1285

merged 1 commit into from
Apr 6, 2022

Conversation

dnicolson
Copy link
Contributor

This pull request moves the class to an element commonly used by other accessories to vertically align the statistics at the bottom.

Before:
Before

After:
After

Before short:
After short

After short:
Before short

<div [inlineSVG]="'/assets/hap-icons/light.svg'" aria-label="Light Sensor" class="accessory-svg"></div>
<div class="accessory-label">{{ service.customName || service.serviceName }}</div>
<div class="accessory-labe mt-autol">{{ service.customName || service.serviceName }}</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it not be label mt-auto?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it has already been fixed in 74afd43.

@oznu oznu merged commit 11d4fd1 into homebridge:master Apr 6, 2022
@oznu
Copy link
Member

oznu commented Apr 6, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants