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

Make font sizes specified not in pixels, but something fluent and responsive like 'ems' or percent. #25

Open
RobertLRead opened this issue Nov 14, 2021 · 0 comments
Assignees

Comments

@RobertLRead
Copy link
Contributor

I'd like to not use pixels for font sizes and margins to try to keep the GUI as responsive as possible to resolution changes (phone or Raspberry PI to giant Mac screen.) I think the last pull request created some code like:


    <div class="vertical_alarms">
          <div class="limit-max">
            <label for="max_h">H:</label>
            <slot name="obs-max">111</slot>
            <input style="font-size: 50px; margin: 100px 30px 0 10px;" class="fence" 

Also, I would much rather that be placed on the "limit-max" or "fence" class in the .css and moved to .css file completely.

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

No branches or pull requests

2 participants