Migrate border and margin classes to Tailwind (#29828)

Used all existing css vars, other migrations are 1:1.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 34290a00c4501ffeba26db267be71ab68e3ec97f)

Conflicts:
	templates/repo/issue/filter_list.tmpl
	web_src/js/components/DashboardRepoList.vue
	trivial context conflicts
This commit is contained in:
silverwind 2024-03-18 15:47:05 +01:00 committed by Earl Warren
parent fbf0b3d661
commit 4711d3311b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
17 changed files with 43 additions and 48 deletions

View file

@ -39,7 +39,7 @@ function addLink(parent, href, text, tooltip) {
link.href = href;
link.textContent = text;
if (tooltip) {
link.classList.add('gt-border-secondary', 'gt-rounded');
link.classList.add('tw-border', 'tw-border-secondary', 'tw-rounded');
link.setAttribute('data-tooltip-content', tooltip);
}
parent.append(link);