Skip to content

Commit 403e7bb

Browse files
committed
refactor: improve checkmark styles in more options dropdown
1 parent 42f9552 commit 403e7bb

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,6 +1888,7 @@ function RemoteFunctions(config = {}) {
18881888
<span class="item-icon">${ICONS.paste}</span>
18891889
<span class="item-label">${config.strings.paste}</span>
18901890
</div>
1891+
<div class="dropdown-separator"></div>
18911892
<div class="dropdown-item" data-action="toggle-ruler-lines">
18921893
<span class="item-icon">${ICONS.ruler}</span>
18931894
<span class="item-label">${config.strings.showRulerLines}</span>
@@ -1915,7 +1916,7 @@ function RemoteFunctions(config = {}) {
19151916
top: -1000px;
19161917
box-sizing: border-box !important;
19171918
min-width: 130px !important;
1918-
padding: 2px 0 !important;
1919+
padding: 3px 0 !important;
19191920
overflow: hidden !important;
19201921
}
19211922
@@ -1931,7 +1932,7 @@ function RemoteFunctions(config = {}) {
19311932
user-select: none !important;
19321933
display: flex !important;
19331934
align-items: center !important;
1934-
gap: 8px !important;
1935+
gap: 6px !important;
19351936
}
19361937
19371938
.dropdown-item:hover {
@@ -1957,10 +1958,17 @@ function RemoteFunctions(config = {}) {
19571958
flex: 1 !important;
19581959
}
19591960
1961+
.dropdown-separator {
1962+
height: 1px !important;
1963+
background-color: #4a4a4a !important;
1964+
margin: 2px 0 !important;
1965+
}
1966+
19601967
.item-checkmark {
19611968
margin-left: auto !important;
1962-
padding-left: 12px !important;
1969+
padding-left: 4px !important;
19631970
font-size: 14px !important;
1971+
margin-top: -4px !important;
19641972
}
19651973
`;
19661974

0 commit comments

Comments
 (0)