Skip to content

Commit

Permalink
Adjust z-index for floating labels (go-gitea#3939)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviian authored and appleboy committed May 11, 2018
1 parent 253a2d6 commit 91b3615
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/css/index.css

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions public/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ pre, code {
}
}

&.floating.label {
z-index: 10;
}

&.menu,
&.vertical.menu,
&.segment {
Expand All @@ -167,6 +171,14 @@ pre, code {
font-size: .92857143rem;
}

&.dropdown .menu>.item>.floating.label {
z-index: 11;
}

&.dropdown .menu .menu>.item>.floating.label {
z-index: 21;
}

.text {
&.red {
color: #d95c5c !important;
Expand Down

0 comments on commit 91b3615

Please sign in to comment.