Ensure the tutorial snippets have a proper height #836
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.
Description of the Change
We have some tutorial snippets that were added to our automated doc site a few months back but there's currently a styling issue there where the full snippet doesn't show. The issue is with some CSS that is forcing a height of 16px, so if the code container needs to be bigger than that, the text gets cut off.
This PR fixes that by changing the height style to a min-height style. As far as I can tell, this has no impact on the other sections of that doc site but unsure why that style was added in the first place.
Before:
After:
Alternate Designs
None
Possible Drawbacks
Potential that other places on the docs site relies on that style and could be negatively impacted
Verification Process
npm install
npm run build:docs
docs-built
directory, find thetutorial-snippets.html
file and open in a browser. Ensure the snippets fully display (can compare to this)Checklist: