gitea/templates/shared
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
..
actions Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
datetime Use auto-updating, natively hoverable, localized time elements (#23988) 2023-04-11 01:01:20 +02:00
secrets Convert <div class="button"> to <button class="button"> (#23337) 2023-03-14 11:34:09 +08:00
user Fix no user listed in org teams page (#22979) 2023-02-19 12:57:49 +08:00
combomarkdowneditor.tmpl Fine tune markdown editor toolbar (#24046) 2023-04-11 16:36:18 +08:00
issuelist.tmpl Use auto-updating, natively hoverable, localized time elements (#23988) 2023-04-11 01:01:20 +02:00
searchbottom.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00