www.fgks.org   »   [go: up one dir, main page]

Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 30, 2023
1 parent 1eb7957 commit 8e71043
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion openlibrary/plugins/openlibrary/bulk_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ def POST(self):
for subject_type, remove_list in tags_to_remove.items():
if remove_list:
current_subjects[subject_type] = [
item for item in current_subjects[subject_type] if item not in remove_list
item
for item in current_subjects[subject_type]
if item not in remove_list
]
w[subject_type] = current_subjects[subject_type]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ export class Tag {
}
return result
}
}
}
6 changes: 3 additions & 3 deletions static/css/components/tagging-menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -248,22 +248,22 @@

&::before {
content: "person";
}
}
}
&--time {
background-color: @dark-yellow;
color: @black;

&::before {
content: "time";
}
}
}
&--subject {
background-color: @primary-blue;

&::before {
content: "subject";
}
}
}
}
}

0 comments on commit 8e71043

Please sign in to comment.