Skip to content

Commit 9214e73

Browse files
committed
fix: vertical alignment of context menu icons
1 parent 9da4d67 commit 9214e73

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/webui/src/client/styles/contextMenu.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ nav.react-contextmenu {
4747
padding-right: 25px;
4848
cursor: pointer;
4949

50+
display: flex;
51+
flex-direction: row;
52+
align-items: center;
53+
5054
&.react-contextmenu-item--selected:not(.react-contextmenu-item--disabled) {
5155
background: #313334;
5256
color: #ffffff;
@@ -57,13 +61,15 @@ nav.react-contextmenu {
5761
opacity: 0.5;
5862
}
5963

60-
> svg, > .svg {
64+
> svg,
65+
> .svg {
6166
width: 17px;
6267
height: 17px;
6368
display: inline-block;
6469
object-fit: contain;
6570
margin-left: -10px;
6671
margin-right: 10px;
72+
margin-bottom: 3px;
6773
}
6874

6975
> .svg > svg {

0 commit comments

Comments
 (0)