- optimize dropdown content look

- optimize min button look
- change line number default width from 3 to 4
This commit is contained in:
Xen 2020-07-03 22:19:43 +08:00
parent f00e9d6006
commit 254bdc8796
4 changed files with 10 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "comNG", "name": "comNG",
"productName": "comNG", "productName": "comNG",
"version": "1.0.7", "version": "1.0.8",
"mode": "dev", "mode": "dev",
"description": "A powerful serialport tool with modernx UI", "description": "A powerful serialport tool with modernx UI",
"repository": "https://github.com/xenkuo/comNG", "repository": "https://github.com/xenkuo/comNG",

View File

@ -500,7 +500,7 @@ amdRequire(["vs/editor/editor.main"], function () {
wordWrap: "on", wordWrap: "on",
wordWrapBreakAfterCharacters: "", wordWrapBreakAfterCharacters: "",
wordWrapBreakBeforeCharacters: "", wordWrapBreakBeforeCharacters: "",
lineNumbersMinChars: 3, lineNumbersMinChars: 4,
minimap: { minimap: {
enabled: false, enabled: false,
}, },

View File

@ -98,17 +98,21 @@ blockquote {
.dropdown-content { .dropdown-content {
border-radius: 12px; border-radius: 12px;
width: fit-content;
min-width: 0px !important;
} }
.dropdown-content li { .dropdown-content li {
min-height: 24px; min-height: 28px;
max-height: 28px !important;
line-height: 28px !important;
} }
.dropdown-content li > a, .dropdown-content li > a,
.dropdown-content li > span { .dropdown-content li > span {
font-size: 12px; font-size: 12px;
line-height: 24px; line-height: 28px;
padding-top: 4px; padding-top: 0px;
padding-bottom: 4px; padding-bottom: 4px;
} }

View File

@ -17,7 +17,7 @@
<ul class="right"> <ul class="right">
<li class="head-li"> <li class="head-li">
<a id="min-btn" class="waves-effect btn-floating tiny-btn grey"></a> <a id="min-btn" class="waves-effect btn-floating tiny-btn"></a>
</li> </li>
<li class="head-li"> <li class="head-li">
<a <a