Skip to content

Commit f9d6092

Browse files
authored
Remove "inverted" class on creating new label and cancel buttons (#24030)
"inverted" class might not be needed because background of these two buttons is light color. inverted related rule from `semantic.css`: ```css .ui.inverted.green.basic.buttons .button, .ui.inverted.green.buttons .basic.button, .ui.inverted.green.basic.button { background-color: transparent; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5) inset; color: #FFFFFF; } ``` Before: <img width="771" alt="截屏2023-04-10 17 21 22" src="https://user-images.githubusercontent.com/17645053/230873878-cc64b3d6-ffa9-4cae-9280-07b06f7829b2.png"> After: <img width="765" alt="截屏2023-04-10 17 22 14" src="https://user-images.githubusercontent.com/17645053/230873956-9412054f-b739-4878-9ee9-57ff65eb7910.png">
1 parent 8cbc4a3 commit f9d6092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/issue/labels/label_new.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
</div>
3939

4040
<div class="actions">
41-
<button class="ui red basic inverted cancel button">
41+
<button class="ui red basic cancel button">
4242
{{svg "octicon-x"}}
4343
{{.locale.Tr "cancel"}}
4444
</button>
45-
<button class="ui green basic inverted ok button">
45+
<button class="ui green basic ok button">
4646
{{svg "octicon-check"}}
4747
{{.locale.Tr "repo.issues.create_label"}}
4848
</button>

0 commit comments

Comments
 (0)