Skip to content

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Oct 25, 2024

This follows up on #11028 to do it differently in similar manner as in _reboot.scss so that code inside pre does not apply font-size a second time

closes #11185

I decided that other issue I found with $code-font-size being change and how code-annotation behave will be done in 1.7 in another issue. Let's just fix for now what was working in 1.5 and no more in 1.6.

No changelog item because it is fixing a problem from one of the 1.6 new feature.

I think I'll add a test using playwright about this code font size default change which was the problem for the annotation. Then I'll merge

cderv added 2 commits October 25, 2024 20:26
This follows up on #11028 to do it differently in similar manner as in `_reboot.scss` so that code inside pre does not apply font-size a second time
add a test with playwright to check that we don't modify code fontsize in a way that this is will get a different value for code inside pre than font-size of pre itself
@cderv cderv merged commit 9e01d1c into main Oct 28, 2024
47 checks passed
@cderv cderv deleted the fix/code-annotation-css branch October 28, 2024 12:50
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.

Code annotation numbers are gradually indented

1 participant