forgejo/web_src/css
wxiaoguang 704f3aa91c
Fine tune markdown editor toolbar (#24046)
1. Remove unnecessary `btn-link` `muted` classes
* Link is link, button is button, I can't see a real requirement to make
a button like a link.
* If anyone insists, please help to show me real example from modern
frameworks / websites, how and why they do so.
    * No need to duplicate a lot of class names on similar elements
* Declare styles clearly, for example, `markdown-toolbar` itself should
have `display: flex`, but not use `gt-df` to overwrite the `display:
block`.
2. Remove unnecessary `role` attribute
    * https://github.com/github/markdown-toolbar-element/issues/70
* The `markdown-toolbar-element` does want to add `role=button`, but
there is a bug.
* So we do the similar thing as upstream does (add the role by JS),
until they fix their bugs.
3. Indent `markdown-switch-easymde` (before it doesn't have a proper
indent)

Screenshot:

![image](https://user-images.githubusercontent.com/2114189/231090912-f6ba01cb-d0eb-40ad-bf8c-ffc597d9a778.png)
2023-04-11 16:36:18 +08:00
..
chroma
code
codemirror
console
features
markup Show errors for KaTeX and mermaid on the preview tab (#24009) 2023-04-09 08:07:43 -04:00
modules
shared
standalone
themes
admin.css
animations.css
base.css Fine tune markdown editor toolbar (#24046) 2023-04-11 16:36:18 +08:00
dashboard.css
editor-markdown.css Fine tune markdown editor toolbar (#24046) 2023-04-11 16:36:18 +08:00
editor.css
explore.css
font_i18n.css
form.css Replace tribute with text-expander-element for textarea (#23985) 2023-04-09 12:18:45 -04:00
helpers.css Use graceful editorconfig loader to reduce errors when loading malformed editorconfigs (#21257) 2023-04-06 16:01:20 -04:00
home.css
index.css
install.css
organization.css Org pages style fixes (#23901) 2023-04-04 06:49:09 +02:00
package.css
repository.css Adjust sticky pr header to cover background (#23956) 2023-04-08 20:43:15 +08:00
review.css Expand/Collapse all changed files (#23639) 2023-04-09 21:11:02 +08:00
runner.css
svg.css
tribute.css
user.css Fix user profile description rendering (#23882) 2023-04-03 16:11:16 -04:00