Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 6bdff82

Browse files
committed
fix: Velog CSS 변경에 따른 기능 오류 수정
1 parent 35174a3 commit 6bdff82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/notice.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function add_notice_button(div) {
22
var noticeButton = createElement("button", {
3-
class: "notice-button hxwLgQ",
3+
class: "notice-button sc-dlVxhl bluJY",
44
});
55
noticeButton.innerHTML =
66
'<svg class = "GHcMM" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.137 3.945c-.644-.374-1.042-1.07-1.041-1.82v-.003c.001-1.172-.938-2.122-2.096-2.122s-2.097.95-2.097 2.122v.003c.001.751-.396 1.446-1.041 1.82-4.667 2.712-1.985 11.715-6.862 13.306v1.749h20v-1.749c-4.877-1.591-2.195-10.594-6.863-13.306zm-3.137-2.945c.552 0 1 .449 1 1 0 .552-.448 1-1 1s-1-.448-1-1c0-.551.448-1 1-1zm3 20c0 1.598-1.392 3-2.971 3s-3.029-1.402-3.029-3h6z"/></svg>';
@@ -30,7 +30,7 @@ function add_notice_button(div) {
3030
}
3131

3232
if (document.querySelector(".notice-button") == null) {
33-
const divs = document.querySelectorAll(".sc-cxpSdN");
33+
const divs = document.querySelectorAll(".sc-llYSUQ.bqeVpK");
3434
divs.forEach(function (div) {
3535
add_notice_button(div);
3636
});

0 commit comments

Comments
 (0)