Skip to content

Reduce "wasted" screen space#7655

Merged
bramkragten merged 3 commits intohome-assistant:devfrom
spacegaier:optimize-vert-space
Nov 23, 2020
Merged

Reduce "wasted" screen space#7655
bramkragten merged 3 commits intohome-assistant:devfrom
spacegaier:optimize-vert-space

Conversation

@spacegaier
Copy link
Member

Breaking change

Proposed change

Removed some unneeded paddings that visually broke the alignment in the more-info dialogs.

Before:
image

After:
image

After (shrunk padding above the state buttons):
image

Moved the three-dot icon 4px up to properly align with the header.
Left old, right after:
image

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@spacegaier spacegaier changed the title Reduce "wasted" vertical screen space Reduce "wasted" screen space Nov 11, 2020
.actions {
margin: 0 8px;
padding-top: 20px;
margin: 0;
Copy link
Member

Choose a reason for hiding this comment

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

On smaller screens the actions are now touching the badge?

Copy link
Member Author

Choose a reason for hiding this comment

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

Even on the smallest simulated screen, there is still space between them
image

@bramkragten bramkragten merged commit 4dcc0bb into home-assistant:dev Nov 23, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants