Skip to content

Commit

Permalink
modified: script.js
Browse files Browse the repository at this point in the history
	modified:   styles.css
  • Loading branch information
MEGATREX4 committed Sep 15, 2023
1 parent 0c32d6f commit d285b8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function displayTranslations(data, currentPage, itemsPerPage) {

const icon = document.createElement('i');
itemContainer.id = 'verified';
icon.classList.add('fa', 'fa-check', 'translation-icon', 'left-icon'); // Додати класи для значка галочки
icon.classList.add('fa', 'fa-question-circle-o', 'translation-icon', 'left-icon'); // Додати класи для значка галочки


// Додати обробник подій для показу підказки при наведенні
Expand Down
8 changes: 3 additions & 5 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -331,14 +331,14 @@ body, html {

.custom-tooltip {
position: absolute;
background-color: #297e4c;
background-color: #1d1b1e;
color: #e6e6e6;
padding: 15px;
border-radius: 20px;
z-index: 999;
left: -50%;
top: -10px;
transform: translateX(-31.5%) translateY(-49%);
transform: translateX(-31.5%) translateY(-48%);
}

.custom-tooltip .tooltip-content {
Expand All @@ -349,9 +349,7 @@ body, html {
word-wrap: break-word; /* Розділити слова, якщо вони не вміщаються */
}

i{
color:#297e4c;
}


.concon{
display: flex;
Expand Down

0 comments on commit d285b8d

Please sign in to comment.