Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
changed id to class and adjusted styling
  • Loading branch information
selichter committed Sep 17, 2021
1 parent 361a997 commit b1a1bfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Resources/Styles/package_list.scss
Expand Up @@ -43,12 +43,12 @@
}
}

#star_text {
background-image: var(--image-star);
.stars {
padding-left: 25px;
background-size: 18px;
background-repeat: no-repeat;
background-size: 30%;
background-position: center;
padding: 25px;
background-position: top 2px left;
background-image: var(--image-star);
}

}
Expand Down
2 changes: 1 addition & 1 deletion Sources/App/Views/Author/AuthorShow+View.swift
Expand Up @@ -82,7 +82,7 @@ enum AuthorShow {
.p(.text(package.description))
),
.p(
.span(.id("star_text")),
.class("star_text"),
.text(starsText(stars: package.stars))
)
)
Expand Down

0 comments on commit b1a1bfe

Please sign in to comment.