Skip to content

fix(prism): Remove unnecessary vertical-align: middle style#75313

Merged
malwilley merged 1 commit into
masterfrom
malwilley/fix/code-snippet-vertical-alignment
Jul 31, 2024
Merged

fix(prism): Remove unnecessary vertical-align: middle style#75313
malwilley merged 1 commit into
masterfrom
malwilley/fix/code-snippet-vertical-alignment

Conversation

@malwilley

Copy link
Copy Markdown
Member

This style was added here (by me), but it doesn't seem like it's needed any longer (and I can't remember why I originally added it 🤔).

The style adds unnecessary whitespace between lines and causes line highlighting to be misaligned (as attempted in #75294). If you compare the CodeSnippet stories at /stories/?name=app/components/codeSnippet.stories.tsx, it looks the same but slightly more compact now.

@malwilley malwilley requested a review from a team July 30, 2024 23:37
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 30, 2024
@codecov

codecov Bot commented Jul 30, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.21%. Comparing base (3e9875e) to head (31a42dc).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #75313      +/-   ##
==========================================
- Coverage   78.21%   78.21%   -0.01%     
==========================================
  Files        6775     6779       +4     
  Lines      302013   302025      +12     
  Branches    51963    51963              
==========================================
  Hits       236217   236217              
- Misses      59443    59455      +12     
  Partials     6353     6353              
Files Coverage Δ
static/app/styles/global.tsx 100.00% <ø> (ø)

... and 13 files with indirect coverage changes

@malwilley malwilley merged commit 337054d into master Jul 31, 2024
@malwilley malwilley deleted the malwilley/fix/code-snippet-vertical-alignment branch July 31, 2024 16:27
roaga pushed a commit that referenced this pull request Jul 31, 2024
The style adds unnecessary whitespace between lines and causes line
highlighting to be misaligned.
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants