gitea/web_src/css
silverwind a96c73f979
Remove svg.svg class, restore .rss-icon (#24667)
Fix regression from https://github.com/go-gitea/gitea/pull/24476 where
the `svg.svg` class misaligns SVG icons across the site and streched
buttons unintentionally in vertical height.

Before (button 30.3px):
<img width="157" alt="Screenshot 2023-05-11 at 22 09 42"
src="https://github.com/go-gitea/gitea/assets/115237/0fd137ab-ab52-4cf8-afca-c45776d526d0">

After (button 30px):
<img width="160" alt="Screenshot 2023-05-11 at 22 09 59"
src="https://github.com/go-gitea/gitea/assets/115237/4b741f4b-0fd2-4fae-9bee-16a7deb098e8">

[vertical-align:
middle](https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align)
is not suitable to align icons to text because

> Aligns the middle of the element with the baseline plus half the
x-height of the parent.

Example of `vertical-align: middle` from MDN:

<img width="232" alt="Screenshot 2023-05-11 at 22 29 28"
src="https://github.com/go-gitea/gitea/assets/115237/179fb756-85a1-4cab-8219-1a4958f333e2">

So I think the
[existing](365bb77a54/web_src/css/svg.css (L3))
`vertical-align: text-top` is generally still the best bet:

<img width="241" alt="Screenshot 2023-05-11 at 22 34 24"
src="https://github.com/go-gitea/gitea/assets/115237/0cd6edf5-12c0-4bdb-8771-a900f5ba2d35">

Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-12 10:23:53 +00:00
..
chroma Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
code Fix some broken css (#23560) 2023-03-18 17:53:12 -04:00
codemirror Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
console Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
editor Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) 2023-04-29 07:35:59 -04:00
features Add permission check for moving issue action in project view page (#24589) 2023-05-09 00:50:16 -04:00
markup Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
modules Remove fomantic breadcrumb module (#24463) 2023-05-01 11:40:02 -04:00
repository Make Issue/PR/projects more compact, misc CSS tweaks (#24459) 2023-05-03 17:58:59 -04:00
shared Modify width of ui container, fine tune css for settings pages and org header (#24315) 2023-04-26 11:59:08 -04:00
standalone Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
themes Notification list enhancements, fix striped tables on dark theme (#24639) 2023-05-10 21:59:58 +00:00
admin.css Fix config list overflow and layout (#24312) 2023-04-30 13:32:07 -04:00
animations.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
base.css Remove svg.svg class, restore .rss-icon (#24667) 2023-05-12 10:23:53 +00:00
dashboard.css Remove highlight in repo list (#24675) 2023-05-12 10:00:17 +02:00
editor.css Remove fomantic breadcrumb module (#24463) 2023-05-01 11:40:02 -04:00
explore.css Improve "new-menu" (#24465) 2023-05-01 12:08:37 -04:00
font_i18n.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
form.css Replace tribute with text-expander-element for textarea (#23985) 2023-04-09 12:18:45 -04:00
helpers.css Notification list enhancements, fix striped tables on dark theme (#24639) 2023-05-10 21:59:58 +00:00
home.css Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) 2023-04-29 07:35:59 -04:00
index.css Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
install.css Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
organization.css RSS icon fixes (#24476) 2023-05-10 22:27:02 +00:00
repository.css Review fixes and enhancements (#24526) 2023-05-10 09:16:44 +00:00
review.css Expand/Collapse all changed files (#23639) 2023-04-09 21:11:02 +08:00
runner.css Improve "new-menu" (#24465) 2023-05-01 12:08:37 -04:00
svg.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
tribute.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
user.css Add Gitea Profile Readmes (#23260) 2023-05-09 05:57:24 +00:00