File tree 2 files changed +8
-1
lines changed 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 13
13
</div>
14
14
{{if .EnableFeed}}
15
15
<a class="ui small button" href="{{.RepoLink}}/{{if .PageIsTagList}}tags{{else}}releases{{end}}.rss">
16
- {{svg "octicon-rss" 18 }} {{ctx.Locale.Tr "rss_feed"}}
16
+ {{svg "octicon-rss" 16 }} {{ctx.Locale.Tr "rss_feed"}}
17
17
</a>
18
18
{{end}}
19
19
{{if and (not .PageIsTagList) .CanCreateRelease}}
Original file line number Diff line number Diff line change @@ -85,6 +85,13 @@ It needs some tricks to tweak the left/right borders with active state */
85
85
box-shadow : none;
86
86
}
87
87
88
+ /* apply the vertical padding of .compact to non-compact buttons when they contain a svg as they
89
+ would otherwise appear too large. Seen on "RSS Feed" button on repo releases tab. */
90
+ .ui .small .button : not (.compact ): has (.svg ) {
91
+ padding-top : 0.58928571em ;
92
+ padding-bottom : 0.58928571em ;
93
+ }
94
+
88
95
.ui .labeled .button .disabled > .button ,
89
96
.ui .basic .buttons .button ,
90
97
.ui .basic .button ,
You can’t perform that action at this time.
0 commit comments