1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-24 10:28:27 +00:00

Comment Header fixes (#13356) (#13374)

Apply more flexboxes on comment header and remove float hacks. Needs
1.13 backport.

Fixes: https://github.com/go-gitea/gitea/issues/13316

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
silverwind
2020-10-31 18:25:10 +01:00
committed by GitHub
parent 77a2d75639
commit 52b4b984a5
5 changed files with 44 additions and 62 deletions

View File

@@ -955,7 +955,6 @@
.tag {
color: #767676;
margin-top: 3px;
padding: 2px 5px;
font-size: 12px;
border: 1px solid rgba(0, 0, 0, .1);
@@ -969,26 +968,6 @@
}
}
.actions {
.item {
float: left;
&.context {
float: none;
}
&.tag {
margin-right: 5px;
}
&.action {
margin-top: 6px;
padding-left: 10px;
padding-right: 3px;
}
}
}
> .content {
> div:first-child {
border-top-left-radius: 4px;
@@ -1028,11 +1007,14 @@
left: 7px;
}
.actions {
display: flex;
padding: 0 .5rem;
.header-left > * + *,
.header-right > * + * {
margin-left: .25rem;
}
.actions {
a {
padding: .5rem;
color: rgba(0, 0, 0, .4);
&:hover {