Skip to content

Commit

Permalink
- move new table styles to non-dark-theme-specific styles
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasMue91 committed May 5, 2024
1 parent c7fa335 commit d4e0666
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions tools/gptranslator.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,32 @@
font-size: 12px;
}

#favoritesTable td span {
white-space: pre-wrap;
display: block;
max-height: 100px;
overflow-y: auto;
}

#favoritesTable td span::-webkit-scrollbar {
width: 6px;
height: 6px;
}

#favoritesTable td span::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 6px;
}

#favoritesTable td span::-webkit-scrollbar-thumb {
background: #888;
border-radius: 6px;
}

#favoritesTable td span::-webkit-scrollbar-thumb:hover {
background: #555;
}

@media (min-width: 768px) {
main {
margin: 50px auto;
Expand Down Expand Up @@ -207,32 +233,6 @@
border-color: #777;
}

#favoritesTable td span {
white-space: pre-wrap;
display: block;
max-height: 100px;
overflow-y: auto;
}

#favoritesTable td span::-webkit-scrollbar {
width: 6px;
height: 6px;
}

#favoritesTable td span::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 6px;
}

#favoritesTable td span::-webkit-scrollbar-thumb {
background: #888;
border-radius: 6px;
}

#favoritesTable td span::-webkit-scrollbar-thumb:hover {
background: #555;
}

#favoritesTable tr:nth-child(even) {
background-color: #424242;
}
Expand Down

0 comments on commit d4e0666

Please sign in to comment.