Skip to content

Commit 78256fc

Browse files
committed
fix: back button text not properly centralized
1 parent ac2afc4 commit 78256fc

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
</div>
1010
<div id="back-to-list-menu-btn" class="custom-snippet-btn hidden">
1111
<button title="Back to snippets list">
12-
<i class="fas fa-chevron-left"></i> Back
12+
<i class="back-btn-left-icon fas fa-chevron-left"></i>
13+
<span class="back-btn-text">Back</span>
1314
</button>
1415
</div>
1516
</div>

src/styles/Extn-CustomSnippets.less

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,22 @@
7272
}
7373
}
7474

75+
.custom-snippet-btn button {
76+
display: flex;
77+
align-items: center;
78+
}
79+
80+
.custom-snippet-btn .back-btn-left-icon {
81+
position: relative;
82+
top: 1px;
83+
margin-right: 4px;
84+
}
85+
86+
.custom-snippet-btn .back-btn-text {
87+
position: relative;
88+
top: 0.6px;
89+
}
90+
7591
.filter-snippets-panel {
7692
display: inline-block;
7793
}

0 commit comments

Comments
 (0)