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

Fix #5812, Replacing a magic number with its css variable #9197

Merged
merged 1 commit into from
Mar 15, 2021

Conversation

beyzahv
Copy link

@beyzahv beyzahv commented Mar 14, 2021

Signed-off-by: Beyza Hizli beyzahizli@gmail.com

What it does

Fixes: #5812

This pull request fixes issue #5812. The requested variable is already introduced and used, but one instance of the magic number was missed, which is refactored now.

How to test

I followed the 'how to test' guide from this pull request #8870 and inspected the reviewer comment:
variable-test
It is still correctly applying the line-height.

Review checklist

Reminder for reviewers

Signed-off-by: beyzahizli <beyzahizli@gmail.com>
@vince-fugnitto vince-fugnitto added quality issues related to code and application quality ui/ux issues related to user interface / user experience labels Mar 15, 2021
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@beyzahizli thank you for your first contribution to the project 👍, the changes look good to me.

@vince-fugnitto vince-fugnitto merged commit be686ee into eclipse-theia:master Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality issues related to code and application quality ui/ux issues related to user interface / user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[css] add a variable for magic 22px line-height
2 participants