- 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",
"productName": "comNG",
"version": "1.0.7",
"version": "1.0.8",
"mode": "dev",
"description": "A powerful serialport tool with modernx UI",
"repository": "https://github.com/xenkuo/comNG",

View File

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

View File

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

View File

@ -17,7 +17,7 @@
<ul class="right">
<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 class="head-li">
<a