minor CSS fix

This commit is contained in:
Unknwon 2015-12-02 20:10:00 -05:00
parent 85449b2f11
commit 29375059e1
3 changed files with 25 additions and 2 deletions

View File

@ -1864,6 +1864,9 @@ footer .container .links > *:first-child {
position: relative; position: relative;
width: 325%; width: 325%;
} }
.repository.file.list #repo-files-table thead th .ui.sha.label {
font-weight: bold;
}
.repository.file.list #repo-files-table thead .ui.avatar { .repository.file.list #repo-files-table thead .ui.avatar {
margin-bottom: 5px; margin-bottom: 5px;
} }
@ -2234,6 +2237,9 @@ footer .container .links > *:first-child {
font-weight: normal; font-weight: normal;
padding: 5px 10px; padding: 5px 10px;
} }
.repository #commits-table {
width: 100%;
}
.repository .diff-detail-box { .repository .diff-detail-box {
margin: 15px 0; margin: 15px 0;
line-height: 30px; line-height: 30px;
@ -2345,6 +2351,9 @@ footer .container .links > *:first-child {
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
} }
.repository.quickstart .ui.grid {
margin-top: 0;
}
.repository.quickstart .guide .item { .repository.quickstart .guide .item {
padding: 1em; padding: 1em;
} }

View File

@ -146,11 +146,16 @@
padding-top: 8px; padding-top: 8px;
padding-bottom: 5px; padding-bottom: 5px;
font-weight: normal; font-weight: normal;
&:first-child { &:first-child {
display: block; display: block;
position: relative; position: relative;
width: 325%; width: 325%;
} }
.ui.sha.label {
font-weight: bold;
}
} }
.ui.avatar { .ui.avatar {
margin-bottom: 5px; margin-bottom: 5px;
@ -587,6 +592,9 @@
} }
} }
} }
#commits-table {
width: 100%;
}
.diff-detail-box { .diff-detail-box {
margin: 15px 0; margin: 15px 0;
@ -732,6 +740,10 @@
} }
&.quickstart { &.quickstart {
.ui.grid {
margin-top: 0;
}
.guide { .guide {
.item { .item {
padding: 1em; padding: 1em;

View File

@ -16,7 +16,7 @@
{{if .Commits}} {{if .Commits}}
<div class="ui attached table segment"> <div class="ui attached table segment">
<table class="ui very basic striped fixed single line"> <table class="ui very basic striped fixed single line" id="commits-table">
<thead> <thead>
<tr> <tr>
<th class="four wide">{{.i18n.Tr "repo.commits.author"}}</th> <th class="four wide">{{.i18n.Tr "repo.commits.author"}}</th>
@ -35,9 +35,11 @@
<img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/>&nbsp;&nbsp;{{.Author.Name}} <img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/>&nbsp;&nbsp;{{.Author.Name}}
{{end}} {{end}}
</td> </td>
<td class="message"> <td class="message collapsing">
<a rel="nofollow" class="ui green sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSha .ID.String}}</a> <a rel="nofollow" class="ui green sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSha .ID.String}}</a>
{{RenderCommitMessage .Summary $.RepoLink}} {{RenderCommitMessage .Summary $.RepoLink}}
Initial commit
fjdksfjklsdjfklsjfklsdjfkljsklfjsdklfjklsjfksdjlfkjdsklfjklsjfkldsjfkljsaklfjaklsjfklsdjfkljakldjfklsjafkljaslfjlsakjflkasjfklasjdflkjsklfjsklfjklsjfklsjfkljs
</td> </td>
<td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td> <td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td>
</tr> </tr>