style: add "tag" class, for left aligned badges (#44452)

This commit is contained in:
Frédéric Péters 2020-06-30 14:46:34 +02:00
parent 5497641a07
commit 7086c80c4f
1 changed files with 14 additions and 5 deletions

View File

@ -732,19 +732,28 @@ ul.objects-list.single-links li a {
}
}
ul.objects-list li span.badge {
position: absolute;
right: 1ex;
top: 0.25em;
height: 2em;
ul.objects-list li span.badge,
ul.objects-list li span.tag {
box-sizing: border-box;
border-radius: 1ex;
padding: 0 1ex;
background: $primary-color;
color: white;
}
ul.objects-list li span.badge {
position: absolute;
right: 1ex;
top: 0.25em;
height: 2em;
line-height: 2em;
}
ul.objects-list li span.tag {
position: relative;
left: -1ex;
}
#sidepage {
position: absolute;
top: 0px;