Skip to content

Commit a54a536

Browse files
committed
move border removal to helper
1 parent 72417a4 commit a54a536

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

templates/user/settings/applications_oauth2_edit_form.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<form class="ui form ignore-dirty" action="{{.FormActionPath}}/regenerate_secret" method="post">
2929
{{.CsrfTokenHtml}}
3030
{{.locale.Tr "settings.oauth2_regenerate_secret_hint"}}
31-
<button class="ui tertiary button" type="submit">{{.locale.Tr "settings.oauth2_regenerate_secret"}}</button>
31+
<button class="ui tertiary button border-none" type="submit">{{.locale.Tr "settings.oauth2_regenerate_secret"}}</button>
3232
</form>
3333
</div>
3434
</div>

web_src/less/_base.less

-1
Original file line numberDiff line numberDiff line change
@@ -2319,7 +2319,6 @@ a.ui.label:hover {
23192319

23202320
.ui.tertiary.button {
23212321
color: var(--color-text-light);
2322-
border: none;
23232322
}
23242323

23252324
.ui.tertiary.button:hover {

web_src/less/helpers.less

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
/* below class names match Tailwind CSS */
2323
.pointer-events-none { pointer-events: none !important; }
24+
.border-none { border-style: none !important; }
2425

2526
.mono {
2627
font-family: var(--fonts-monospace) !important;

0 commit comments

Comments
 (0)