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: Fix search icons displayed outside with small base font size #1278

Merged
merged 3 commits into from Apr 13, 2023

Commits on Apr 1, 2023

  1. FIX: Fix search icons displayed outside with small base font size

    When `--pst-font-size-base` is small (i.e. 12px) the search icons
    (magnifying-glass and keyboard shortcut hint) could appear outside the
    search bar because their positions did not take the negative margins
    of their parent container into account.
    
    Use css `calc()` to include it now.
    
    TBH I don't know why a padding + negative margin is employed on the
    form element. Online I found that this technique can be used to make
    just one element (like a header) not constrained by the padding,
    but here there is only one child element (the `<form>`).
    The commit history doesn't help either the stylesheet had this since
    it's first version.
    Maetveis committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    6455a84 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Configuration menu
    Copy the full SHA
    cc09883 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Configuration menu
    Copy the full SHA
    60e80e9 View commit details
    Browse the repository at this point in the history