mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 08:15:22 +03:00
move styles for font logo management interface to external stylesheet
This commit is contained in:
parent
3f6800dcdc
commit
d15fbda038
3 changed files with 13 additions and 3 deletions
|
@ -333,6 +333,16 @@
|
|||
height: 18px;
|
||||
}
|
||||
|
||||
#font-logo-preview-container {
|
||||
background:rgba(0, 255, 0, 0.4);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#font-logo-preview {
|
||||
background:rgba(0, 255, 0, 1);
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.tab-osd .content_wrapper {
|
||||
height: calc(100% - 70px);
|
||||
}
|
||||
|
|
|
@ -1834,7 +1834,7 @@ TABS.osd.initialize = function (callback) {
|
|||
|
||||
// font preview window
|
||||
var $preview = $('.font-preview'),
|
||||
$logoPreview = $('.logo-preview');
|
||||
$logoPreview = $('#font-logo-preview');
|
||||
|
||||
// init structs once, also clears current font
|
||||
FONT.initData();
|
||||
|
|
|
@ -126,8 +126,8 @@
|
|||
</div>
|
||||
<h1 class="tab_title" i18n="osdSetupLogo" />
|
||||
<div class="helpicon cf_tip" i18n_title="osdSetupReplaceLogoHelp"></div>
|
||||
<div class="content_wrapper" style="background:#00dd00; line-height: 0; margin-bottom:10px">
|
||||
<div class="logo-preview" style="background:#00ff00">
|
||||
<div id="font-logo-preview-container" class="content_wrapper">
|
||||
<div id="font-logo-preview">
|
||||
<!-- this will be resized at runtime -->
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue