PhotoPage: update and refactor tagging script slightly

This commit is contained in:
2024-01-11 20:47:41 +01:00
parent 0b010be0b4
commit 9922cd0833
2 changed files with 54 additions and 47 deletions

View File

@@ -526,20 +526,15 @@ a#previous_photo:hover, a#next_photo:hover {
#sub_photo h2, #sub_photo h3, #photo_exif_box h3, #user_actions_box h3 {
margin-bottom: 1rem;
}
#sub_photo #tag_list {
#sub_photo .tag-list {
list-style: none;
margin: 1em 0;
padding: 0;
}
#sub_photo #tag_list li {
display: inline;
padding-right: 0.75em;
}
#tag_list .delete-tag {
opacity: 0.25;
}
#tag_list .delete-tag:hover {
opacity: 1.0;
#sub_photo .tag-list > li {
display: inline-block;
margin-bottom: 0.75em;
margin-right: 0.75em;
}