Use vertical-align: bottom; instead of middle to avoid the Web UI jumping when mouse hovers the section title. #106

Merged
wxiaoguang merged 1 commits from wxiaoguang/gitea-theme:master into master 2022-01-13 15:53:11 +00:00
Member

Before

The height of the section title jumps between 25 ~ 28 when mouse leaves and hovers.

image

After

The height is fixed

image

## Before The height of the section title jumps between 25 ~ 28 when mouse leaves and hovers. ![image](/attachments/3ed3df20-09b2-4bd1-a19e-a3d900c3047e) ## After The height is fixed ![image](/attachments/31cda949-d750-4a7d-9a5f-cdbc97c3abeb)
wxiaoguang added 1 commit 2022-01-13 05:35:58 +00:00
lunny approved these changes 2022-01-13 06:32:46 +00:00
silverwind approved these changes 2022-01-13 15:40:29 +00:00
silverwind left a comment
Member

Yes this was annoying me as well.

Yes this was annoying me as well.
wxiaoguang merged commit d719c8e965 into master 2022-01-13 15:53:11 +00:00
Author
Member

Actually there are more problems for such case.

For exmpale, h4 height is around 21, it sill jumps when hovering.

I would try to do a new fix (or maybe refactoring) later if I have time.

Actually there are more problems for such case. For exmpale, `h4` height is around 21, it sill jumps when hovering. I would try to do a new fix (or maybe refactoring) later if I have time.
This repo is archived. You cannot comment on pull requests.
No description provided.