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 notice box styles #23

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Fix notice box styles #23

merged 1 commit into from
Mar 15, 2023

Conversation

r7l
Copy link
Contributor

@r7l r7l commented Mar 2, 2023

This PR adds more style to the notice box. It looks odd currently.

Before PR:

Screenshot from 2023-03-02 20-04-43

After PR:

Screenshot from 2023-03-02 20-04-52

Example taken from: https://stackoverflow.com/questions/60174/how-can-i-prevent-sql-injection-in-php?rq=1

@httpjamesm
Copy link
Owner

How does this look on mobile devices? I still think the icon should stay on top for small screens.

@r7l
Copy link
Contributor Author

r7l commented Mar 3, 2023

It's not on top. Actually it is the same as it is on Stackoverflow.

AO with PR:

Screenshot from 2023-03-03 11-45-50

SO:

Screenshot from 2023-03-03 11-46-43

Instead of placing the icon on top, i would suggest to reduce the font size a little. SO also has a smaller font size. In most cases it's just a static notice anyways. Would that be ok?

@httpjamesm
Copy link
Owner

Haha sorry, completely forgot about this PR. Looks good though.

@httpjamesm httpjamesm merged commit bdca47a into httpjamesm:main Mar 15, 2023
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.

2 participants