Skip to content

Commit 184fb3b

Browse files
committed
Update tooltips to specify path support.
1 parent a829d2a commit 184fb3b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/options.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@
150150
<div id='restrictionsBlock' hidden>
151151
<label>Access daily restrictions for websites: </label>
152152
<div class="tooltip"><img src="/icons/information.svg" height="18" />
153-
<span class="tooltiptext">Set the maximum time allowed on the site per day. After this time, has elapsed the site will be blocked.</span>
153+
<span class="tooltiptext">Set the maximum time allowed on the site per day. After this time, has elapsed the site will be blocked.
154+
Restrictions can be configured for specific paths on a site as well.</span>
154155
</div>
155156
<div class="margin-top-10">
156157
<input type="text" class="label-with-list" placeholder="Enter site name..."
@@ -171,7 +172,7 @@
171172
<label>List of sites with notifications: </label>
172173
<div class="tooltip"><img src="/icons/information.svg" height="18" />
173174
<span class="tooltiptext">Show notifications every time you spend a specified time interval on the
174-
site</span>
175+
site. Notifications can be configured for specific paths on a site as well.</span>
175176
</div>
176177
<div class="margin-top-10">
177178
<input type="text" class="label-with-list" placeholder="Enter site name..." id='addNotifySiteLbl' />

src/style/settings.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,13 @@ input[type="button"]:hover {
225225
background-color: #555;
226226
color: #fff;
227227
text-align: center;
228-
padding: 5px 0;
228+
padding: 5px;
229229
border-radius: 6px;
230230

231231
/* Position the tooltip text */
232232
position: absolute;
233233
z-index: 1;
234-
transform: translateX(-50%) translateY(-150%);
234+
transform: translateX(-50%) translateY(-120%);
235235

236236
/* Fade in tooltip */
237237
opacity: 0;

0 commit comments

Comments
 (0)