Skip to content

Commit 7de74c1

Browse files
committed
[PRAC/cont] Add tooltip for "X" modal/close btn
Adding tooltip for add-modal close "X" btn. Worth noting: - that's better. core: B-3 / JS-BL
1 parent 3ea49fc commit 7de74c1

File tree

1 file changed

+3
-0
lines changed
  • core-courses/3-js-basic-level/practicum-js-basic-level/sb-crm-client/js

1 file changed

+3
-0
lines changed

core-courses/3-js-basic-level/practicum-js-basic-level/sb-crm-client/js/customTippy.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
initTippy('#table-th-change', 'сортировать ⇵', 'bottom', {
5757
offset: [0, 2],
5858
});
59+
initTippy('.modal__add-header-x-btn', 'закрыть', 'left', {
60+
offset: [0, 13],
61+
});
5962
}
6063

6164
initTippyForSearchLogo();

0 commit comments

Comments
 (0)