Skip to content

Commit

Permalink
move border removal to helper
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Feb 3, 2023
1 parent 72417a4 commit a54a536
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/user/settings/applications_oauth2_edit_form.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<form class="ui form ignore-dirty" action="{{.FormActionPath}}/regenerate_secret" method="post">
{{.CsrfTokenHtml}}
{{.locale.Tr "settings.oauth2_regenerate_secret_hint"}}
<button class="ui tertiary button" type="submit">{{.locale.Tr "settings.oauth2_regenerate_secret"}}</button>
<button class="ui tertiary button border-none" type="submit">{{.locale.Tr "settings.oauth2_regenerate_secret"}}</button>
</form>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -2319,7 +2319,6 @@ a.ui.label:hover {

.ui.tertiary.button {
color: var(--color-text-light);
border: none;
}

.ui.tertiary.button:hover {
Expand Down
1 change: 1 addition & 0 deletions web_src/less/helpers.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

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

.mono {
font-family: var(--fonts-monospace) !important;
Expand Down

0 comments on commit a54a536

Please sign in to comment.