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

Simplify CSS selectors for blueprint sections for custom admin styling #2265

Merged

Conversation

hughbris
Copy link
Contributor

The current template provides very few CSS hooks (selector options) so makes it difficult to add custom admin styles.

This does not alter existing default rendering of section fields and provides two styling hooks:

  • .form-section > h1
  • .form-section .section-text - in my case I wanted to style this like display fields of a certain class.

…tion to simplify CSS selectors for custom admin styling
@manojenbolt
Copy link

yes

@rhukster rhukster merged commit c11594d into getgrav:develop Apr 25, 2022
@rhukster
Copy link
Member

looks good, merged

@rhukster
Copy link
Member

Ugg.. this totally broke the section field. Reverted and re-releasing admin as 1.10.33.1

rhukster added a commit that referenced this pull request Apr 26, 2022
…form-section to simplify CSS selectors for custom admin styling (#2265)"

This reverts commit c11594d.
@hughbris
Copy link
Contributor Author

Oof, sorry. Curious for more detail on the breakage when you get time.

I didn't notice any problem and I would love these CSS hooks available in the official version.

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.

None yet

3 participants