Reduce help page h2 font size in bootstrap static theme#3147
Merged
Conversation
The help section h2 headings inherited Bootstrap's default size (~2rem at larger viewports), which looked oversized relative to the body text. Set an explicit font-size of 1.5rem on .help-section h2 for a more balanced heading.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The help page (
/help) in the bootstrap static theme renders its section headings (基本的な検索,検索演算子, etc.) using.help-section h2, which had no explicitfont-size. As a result the headings inherited Bootstrap's default h2 size (~2rem at larger viewports), making them look oversized relative to the body text.This sets an explicit
font-size: 1.5remon.help-section h2for a more balanced heading size.Changes
src/main/webapp/themes/bootstrap/assets/styles.css: addfont-size: 1.5remto.help-section h2.Notes