Skip to content

Commit 0216deb

Browse files
committed
use ::before
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 067305a commit 0216deb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

includes/header.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,14 @@ function isMobile() {
220220
.repository-package > div:first-child {
221221
padding-top: calc(0.5em + 0.5px);
222222
}
223-
.repository-package.abandoned > div:first-child::after {
223+
.repository-package.abandoned > div:first-child::before {
224224
background-color: #ffba10;
225225
color: black;
226226
content: "abandoned";
227227
height: 1rem;
228228
padding: 4px;
229-
position: absolute;
229+
position: relative;
230+
left: 39px; /*calc(150px / 2 - 72px / 2)*/
230231
}
231232
@media only screen and (max-width: 540px) {
232233
.repository-package {

0 commit comments

Comments
 (0)