Remove height and weight override from Mastodon and Git logos #16

Merged
raito merged 2 commits from val/lix-website:icon-height into main 2024-06-09 13:11:16 +00:00
Contributor

The width does nothing as far as I can tell, and the height makes
the clickable boxes much higher than they need to, overlapping with
the paragraph before the button in the footer.

I see this on both Firefox and Chromium:

The width does nothing as far as I can tell, and the height makes the clickable boxes much higher than they need to, overlapping with the paragraph before the button in the footer. I see this on both Firefox and Chromium:
val added 1 commit 2024-05-06 21:17:56 +00:00
The width does nothing as far as I can tell, and the height makes
the clickable boxes much higher than they need to, overlapping with
the paragraph before the button in the footer.
Contributor

weight and height are needed for WebKit (Safari) to render the icons properly, I wrote up the detail in #8. I suggest updating to use the right dimensions instead? Quick way to find out what they are is to remove width/height and look at the firefox or chrome inspector's layout debugger, it'll list the computed size of the logos in px.

weight and height are needed for WebKit (Safari) to render the icons properly, I wrote up the detail in #8. I suggest updating to use the right dimensions instead? Quick way to find out what they are is to remove width/height and look at the firefox or chrome inspector's layout debugger, it'll list the computed size of the logos in px.
val added 1 commit 2024-05-09 06:20:46 +00:00
raito approved these changes 2024-06-09 13:10:59 +00:00
Owner

Seems easy to test.

Seems easy to test.
raito merged commit 116e2cbd61 into main 2024-06-09 13:11:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix-website#16
No description provided.