Skip to content

Commit 23ec6d1

Browse files
committed
Made tooltip wider.
1 parent 5655f09 commit 23ec6d1

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

src/css/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,9 @@ button.active {
19611961
max-width: 180px;
19621962
}
19631963

1964+
.jBox-Widetip {
1965+
max-width: 300px;
1966+
}
19641967

19651968
@media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) {
19661969

src/js/gui.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,20 @@ GUI_control.prototype.content_ready = function (callback) {
360360
outside: 'x'
361361
});
362362

363+
new jBox('Tooltip', {
364+
theme: 'Widetip',
365+
attach: '.cf_tip_wide',
366+
trigger: 'mouseenter',
367+
closeOnMouseleave: true,
368+
closeOnClick: 'body',
369+
delayOpen: 100,
370+
delayClose: 100,
371+
position: {
372+
x: 'right',
373+
y: 'center'
374+
},
375+
outside: 'x'
376+
});
363377
});
364378

365379
if (callback) callback();

src/tabs/firmware_flasher.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<td><select name="board">
2727
<option value="0" i18n="firmwareFlasherOptionLoading">Loading ...</option>
2828
</select></td>
29-
<td><span class="description" i18n="firmwareFlasherOnlineSelectBoardDescription"></span><div class="helpicon cf_tip" i18n_title="firmwareFlasherOnlineSelectBoardHint"/></td>
29+
<td><span class="description" i18n="firmwareFlasherOnlineSelectBoardDescription"></span><div class="helpicon cf_tip_wide" i18n_title="firmwareFlasherOnlineSelectBoardHint"/></td>
3030
</tr>
3131
<tr>
3232
<td><select name="firmware_version">

0 commit comments

Comments
 (0)