mirror of
https://github.com/documize/community.git
synced 2025-08-09 07:25:23 +02:00
CSS GitHub Issues Fixes
This commit is contained in:
parent
a7bc2bd88b
commit
afaf19f3c5
2 changed files with 29 additions and 21 deletions
|
@ -28,34 +28,20 @@
|
|||
}
|
||||
}
|
||||
|
||||
span.github-issue-label {
|
||||
font-size: 11px;
|
||||
color: white;
|
||||
padding: 2px 4px;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
|
||||
}
|
||||
|
||||
span.label-name {
|
||||
font-size: 16px;
|
||||
font-family: "open_sanssemibold";
|
||||
}
|
||||
|
||||
.section-github-render {
|
||||
.github-board {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
white-space: nowrap;
|
||||
color: #767676;
|
||||
|
||||
> .github-group-title {
|
||||
margin-bottom: 10px;
|
||||
margin: 10px 0;
|
||||
font-size: 14px;
|
||||
color: #767676;
|
||||
}
|
||||
|
||||
> .github-list {
|
||||
margin: 20px;
|
||||
margin: 10px 20px 0 20px !important;
|
||||
padding: 0;
|
||||
color: #767676;
|
||||
|
||||
|
@ -94,6 +80,12 @@ span.label-name {
|
|||
margin-top: 2px;
|
||||
}
|
||||
|
||||
> .issue-avatar {
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
> .github-commit-body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
|
@ -103,12 +95,28 @@ span.label-name {
|
|||
text-decoration: none;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 16px;
|
||||
margin: 0px;
|
||||
line-height: 22px;
|
||||
margin: 0;
|
||||
padding: 0px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 90%;
|
||||
|
||||
.github-issue-label {
|
||||
font-size: 11px;
|
||||
color: white;
|
||||
padding: 0px 4px;
|
||||
margin-right: 5px;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.label-name {
|
||||
font-size: 16px;
|
||||
font-family: "open_sanssemibold";
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
> .github-commit-meta {
|
||||
|
|
|
@ -85,7 +85,7 @@ var renderTemplates = map[string]string{
|
|||
{{range $data := .Issues}}
|
||||
<li class="github-commit-item">
|
||||
<a class="link" href="{{$data.URL}}">
|
||||
<div class="github-avatar">
|
||||
<div class="issue-avatar">
|
||||
<span aria-label="Open issue">
|
||||
<svg aria-hidden="true" class="octicon octicon-issue-opened open" height="16" version="1.1" viewBox="0 0 14 16" width="14"><path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue