Fix inconsistent line heights with inline links and content links #15090
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.
The line height property was actually something we added and removing it gets us closer to core's styling. The reduced padding is unnecessary and I can roll that back but it makes the text more readable I hope with that in play as well. The way premium modules actually fix this is by applying font-size: 0.9em instead, which we can try instead of adjusting padding if you want.
Before:
![image](https://private-user-images.githubusercontent.com/1286721/339964058-adeab5c7-7909-4c88-aac3-bf893f95cd0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEwMDU1ODIsIm5iZiI6MTcyMTAwNTI4MiwicGF0aCI6Ii8xMjg2NzIxLzMzOTk2NDA1OC1hZGVhYjVjNy03OTA5LTRjODgtYWFjMy1iZjg5M2Y5NWNkMGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTVUMDEwMTIyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDY0ZTI5NTkwOGFjYTMyZjI2MTc5YjEwNThhNDM2MThhOTI3MTA2YTI5OTVkMWNjODhmMTVlZjkzMTdkMTFlZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.hGMSY2HMRs2T5lzIO3RG46X4eRjj1hRnUSi93SD4Kug)
After:
![image](https://private-user-images.githubusercontent.com/1286721/339963984-8d0d6580-d995-4c44-b291-34908fc2db45.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEwMDU1ODIsIm5iZiI6MTcyMTAwNTI4MiwicGF0aCI6Ii8xMjg2NzIxLzMzOTk2Mzk4NC04ZDBkNjU4MC1kOTk1LTRjNDQtYjI5MS0zNDkwOGZjMmRiNDUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTVUMDEwMTIyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGE1ODVlMTBlN2M1MDBkNTJlYzk4NzE4NjhjMzIzYThkZGE4ZjVkYTFmZTc4OTQ4MTRjNTIwNTA0ZmZhZjI1MiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.31k0cTce6b2kGgoTmFETCq40sF0UuqR8XOZpkn0myNc)
Its more obvious what's going on if you check the second line on the before. The 4th line wasn't impacted because we never applied the line height to inline roll links.