1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

Made tooltip wider.

This commit is contained in:
Michael Keller 2019-10-09 16:18:27 +13:00
parent 5655f099f9
commit 23ec6d1f2e
3 changed files with 18 additions and 1 deletions

View file

@ -1961,6 +1961,9 @@ button.active {
max-width: 180px; max-width: 180px;
} }
.jBox-Widetip {
max-width: 300px;
}
@media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) { @media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) {

View file

@ -360,6 +360,20 @@ GUI_control.prototype.content_ready = function (callback) {
outside: 'x' outside: 'x'
}); });
new jBox('Tooltip', {
theme: 'Widetip',
attach: '.cf_tip_wide',
trigger: 'mouseenter',
closeOnMouseleave: true,
closeOnClick: 'body',
delayOpen: 100,
delayClose: 100,
position: {
x: 'right',
y: 'center'
},
outside: 'x'
});
}); });
if (callback) callback(); if (callback) callback();

View file

@ -26,7 +26,7 @@
<td><select name="board"> <td><select name="board">
<option value="0" i18n="firmwareFlasherOptionLoading">Loading ...</option> <option value="0" i18n="firmwareFlasherOptionLoading">Loading ...</option>
</select></td> </select></td>
<td><span class="description" i18n="firmwareFlasherOnlineSelectBoardDescription"></span><div class="helpicon cf_tip" i18n_title="firmwareFlasherOnlineSelectBoardHint"/></td> <td><span class="description" i18n="firmwareFlasherOnlineSelectBoardDescription"></span><div class="helpicon cf_tip_wide" i18n_title="firmwareFlasherOnlineSelectBoardHint"/></td>
</tr> </tr>
<tr> <tr>
<td><select name="firmware_version"> <td><select name="firmware_version">