Use Fomantic's fluid padded for blame full width (#12023)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
Cirno the Strongest 2020-06-25 20:58:12 +02:00 committed by GitHub
parent 0b1bb96441
commit 6764daf7e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View File

@ -1,7 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div class="repository file list {{if .IsBlame}}blame{{end}}"> <div class="repository file list">
{{template "repo/header" .}} {{template "repo/header" .}}
<div class="ui container"> <div class="ui container {{if .IsBlame}}fluid padded{{end}}">
{{template "base/alert" .}} {{template "base/alert" .}}
<div class="ui repo-description"> <div class="ui repo-description">
<div id="repo-desc"> <div id="repo-desc">

View File

@ -245,12 +245,6 @@
} }
&.file.list { &.file.list {
&.blame {
.ui.container:not(.flex) {
width: 98%;
}
}
.repo-description { .repo-description {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;