Skip to content

Commit

Permalink
(JS) tab thumbnail tooltip - change text align
Browse files Browse the repository at this point in the history
  • Loading branch information
aminomancer committed Mar 4, 2022
1 parent 2d1abc5 commit 61b8e8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions JS/tabThumbnailTooltip.uc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Tab Thumbnail Tooltip
// @version 1.0.2
// @version 1.0.3
// @author aminomancer
// @homepage https://github.com/aminomancer/uc.css.js
// @description Show a large thumbnail image to preview tab content when hovering a tab.
Expand Down Expand Up @@ -166,10 +166,12 @@ class TabThumbnail {
border-radius: max(3px, var(--thumb-border-radius));
}
#tabThumbLabel {
text-align: center;
margin-inline: 5px;
font-weight: 600;
}
#tabThumbTooltip:not([hide-thumbnail]) #tabThumbLabel {
text-align: center;
}
#tabThumbBox > toolbarseparator {
appearance: none;
min-height: 0;
Expand Down

0 comments on commit 61b8e8f

Please sign in to comment.