Skip to content

Commit ede5047

Browse files
committed
only relax css rules on icons
1 parent 1a765f2 commit ede5047

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

templates/repo/view.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div role="main" aria-label="{{.Title}}" class="page-content repository file {{if .IsBlame}}blame{{end}}">
2+
<div role="main" aria-label="{{.Title}}" class="page-content repository file list {{if .IsBlame}}blame{{end}}">
33
{{template "repo/header" .}}
44
<div class="ui container {{if or .TreeNames .IsBlame}}fluid padded{{end}}">
55
{{template "base/alert" .}}

web_src/css/repo.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,25 +183,25 @@ td .commit-summary {
183183
cursor: default;
184184
}
185185

186-
.repository .non-diff-file-content .plain-text {
186+
.repository.file.list .non-diff-file-content .plain-text {
187187
padding: 1em 2em;
188188
}
189189

190-
.repository .non-diff-file-content .plain-text pre {
190+
.repository.file.list .non-diff-file-content .plain-text pre {
191191
overflow-wrap: anywhere;
192192
white-space: pre-wrap;
193193
}
194194

195-
.repository .non-diff-file-content .csv {
195+
.repository.file.list .non-diff-file-content .csv {
196196
overflow-x: auto;
197197
padding: 0 !important;
198198
}
199199

200-
.repository .non-diff-file-content pre {
200+
.repository.file.list .non-diff-file-content pre {
201201
overflow: auto;
202202
}
203203

204-
.repository .non-diff-file-content .asciicast {
204+
.repository.file.list .non-diff-file-content .asciicast {
205205
padding: 0 !important;
206206
}
207207

0 commit comments

Comments
 (0)