Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f278b7d

Browse files
committedApr 16, 2025·
remove unnecessary styles
1 parent 5d72742 commit f278b7d

File tree

2 files changed

+1
-47
lines changed

2 files changed

+1
-47
lines changed
 

‎templates/repo/header.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</div>
3939
</div>
4040
{{if not (or .IsBeingCreated .IsBroken)}}
41-
<div class="flex-text-block repo-buttons">
41+
<div class="flex-text-block tw-flex-wrap">
4242
{{if $.RepoTransfer}}
4343
<form method="post" action="{{$.RepoLink}}/action/accept_transfer?redirect_to={{$.RepoLink}}">
4444
{{$.CsrfTokenHtml}}

‎web_src/css/repo/header.css

-46
Original file line numberDiff line numberDiff line change
@@ -27,49 +27,3 @@
2727
.repo-header .flex-item-trailing {
2828
flex-wrap: nowrap;
2929
}
30-
31-
.repo-buttons {
32-
flex-flow: row wrap;
33-
word-break: keep-all;
34-
}
35-
36-
.repo-buttons button {
37-
/* ensure that text-btn and svg-text-btn have consistent height. */
38-
line-height: 16px !important;
39-
}
40-
41-
.repo-buttons button[disabled] ~ .label {
42-
opacity: var(--opacity-disabled);
43-
color: var(--color-text-dark);
44-
background: var(--color-light-mimic-enabled) !important;
45-
}
46-
47-
.repo-buttons button[disabled] ~ .label:hover {
48-
color: var(--color-primary-dark-1);
49-
}
50-
51-
.repo-buttons .ui.labeled.button.disabled {
52-
pointer-events: inherit !important;
53-
}
54-
55-
.repo-buttons .ui.labeled.button.disabled > .label {
56-
color: var(--color-text-dark);
57-
background: var(--color-light-mimic-enabled) !important;
58-
}
59-
60-
.repo-buttons .ui.labeled.button.disabled > .label:hover {
61-
color: var(--color-primary-dark-1);
62-
}
63-
64-
.repo-buttons .ui.labeled.button.disabled > .button {
65-
pointer-events: none !important;
66-
}
67-
68-
@media (max-width: 767.98px) {
69-
.repo-buttons .ui.button,
70-
.repo-buttons .ui.label {
71-
padding-left: 8px;
72-
padding-right: 8px;
73-
margin: 0;
74-
}
75-
}

0 commit comments

Comments
 (0)
Please sign in to comment.