Skip to content

Commit f0c7b63

Browse files
committed
fine tune
1 parent 75b5fcb commit f0c7b63

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

templates/devtest/gitea-ui.tmpl

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@
99
<a class="silenced" href="#">silenced</a>
1010
</div>
1111
<h1>Button</h1>
12-
<div>
13-
Style:
14-
<label><input type="checkbox" name="button-style-compact" value="compact">compact</label>
15-
<label><input type="radio" name="button-style-size" value="">(normal)</label>
16-
<label><input type="radio" name="button-style-size" value="tiny">tiny</label>
17-
<label><input type="radio" name="button-style-size" value="mini">mini</label>
12+
".ui.button" styles:
13+
<div class="flex-text-block tw-gap-4">
14+
<label class="gt-checkbox"><input type="radio" name="button-style-size" value="">(normal)</label>
15+
<label class="gt-checkbox"><input type="radio" name="button-style-size" value="tiny">tiny</label>
16+
<label class="gt-checkbox"><input type="radio" name="button-style-size" value="mini">mini</label>
1817
</div>
19-
<div>
20-
State:
21-
<label><input type="checkbox" name="button-state-disabled" value="disabled">disabled</label>
18+
<div class="flex-text-block tw-gap-4">
19+
<label class="gt-checkbox"><input type="checkbox" name="button-style-compact" value="compact">compact</label>
20+
<label class="gt-checkbox"><input type="checkbox" name="button-state-disabled" value="disabled">disabled</label>
2221
</div>
2322
<div id="devtest-button-samples">
2423
<ul class="button-sample-groups">

templates/shared/actions/runner_list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="header">
1717
Registration Token
1818
</div>
19-
<div class="ui input">
19+
<div class="ui action input">
2020
<input type="text" value="{{.RegistrationToken}}" readonly>
2121
<button class="ui basic label button" aria-label="{{ctx.Locale.Tr "copy"}}" data-clipboard-text="{{.RegistrationToken}}">
2222
{{svg "octicon-copy" 14}}

0 commit comments

Comments
 (0)