-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Adds in basic styling for post comment form #35704
Conversation
Size Change: +4.35 kB (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about adding padding to the text inputs, and allowing the textarea to inherit the font family from the body?
Using Twenty Twenty-Two as an example:
Before | After |
---|---|
I think the cookie consent text could also be smaller by default, but that's less important to me than the padding and font family on the comment textarea.
It would be good if the padding matched other input fields. The search block fields has |
@karmatosed I hope you don't mind, I pushed a few small updates.
Here's how those look now:
|
I tidied up that cookies consent area. In general it's looking ok. I'm unclear if this is useful in the context of #35231 though? Anyway, here's how this PR currently looks in various themes: Twenty Twenty-Two:
TT1 Blocks:
Twenty Twenty-One:
Twenty Twenty:
|
A few thoughts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment about the font family but otherwise this LGTM.
overflow-wrap: break-word; | ||
} | ||
|
||
textarea, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops — I missed that originally. Should be all set as of 4881e18.
I think it is still useful, I don't think the form is going to be split yet. |
That spacing in Twenty Twenty though 🤐 |
Thanks, everyone! |
@kjellr I absolutely don't mind at all and love this thank you. |
This is a reworked version of stale PR #27009 which I closed today.
@kjellr and @jffng looping you in as know tracking this for Twenty Twenty Two.
@colorful-tones I removed all the review points you noted to reduce back as much as I can on styling.
Whilst I do think more styling could be done by default, I have concerns setting any font sizes or anything else at this point, so I really went as minimal as possible. I am open to other options being brought in though as it looks 'simple' to say the least.