Skip to content

Commit 47e95ff

Browse files
committed
fix: made close button styling consistent to other panels close button
1 parent d0ac3a9 commit 47e95ff

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

src/extensionsIntegrated/CustomSnippets/htmlContent/snippets-panel.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
<div id="filter-snippets-panel" class="filter-snippets-panel">
1919
<input id="filter-snippets-input" type="text" placeholder="Filter..." autocomplete="off" />
2020
</div>
21-
<div id="close-custom-snippets-panel-btn">
22-
<button><i class="fas fa-times"></i></button>
23-
</div>
21+
<a href="#" class="close" id="close-custom-snippets-panel-btn">&times;</a>
2422
</div>
2523
</div>
2624

src/styles/Extn-CustomSnippets.less

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@
9393
top: 0.6px;
9494
}
9595

96+
#custom-snippets-panel .close {
97+
padding-top: 2.5px;
98+
}
99+
96100
.filter-snippets-panel {
97101
display: inline-block;
98102
}
@@ -107,23 +111,7 @@
107111
min-width: 120px;
108112
margin-bottom: 0;
109113
margin-top: -4px;
110-
}
111-
112-
#close-custom-snippets-panel-btn button {
113-
background: transparent;
114-
border: none;
115-
outline: none;
116-
font-size: 13px;
117-
opacity: 0.7;
118-
color: @bc-text;
119-
120-
.dark & {
121-
color: @dark-bc-text;
122-
}
123-
124-
&:hover {
125-
opacity: 0.9;
126-
}
114+
margin-right: 30px;
127115
}
128116

129117
#custom-snippets-list.hidden {

0 commit comments

Comments
 (0)