Skip to content

Commit 18d7b73

Browse files
committed
fix: remove git remote button focus ring and align caret with text
1 parent a64fd50 commit 18d7b73

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

src/extensions/default/Git/styles/git-styles.less

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,15 +1138,29 @@
11381138
}
11391139
.git-remotes {
11401140
border-radius: 4px 0 0 4px;
1141-
padding-bottom: 5px;
1141+
display: inline-flex;
1142+
align-items: center;
1143+
&:focus {
1144+
border: 1px solid @bc-btn-border;
1145+
box-shadow: inset 0 1px @bc-highlight-hard;
1146+
1147+
.dark & {
1148+
border: 1px solid @dark-bc-btn-border;
1149+
box-shadow: inset 0 1px @dark-bc-highlight;
1150+
}
1151+
}
11421152
.caret {
11431153
border-bottom-color: @bc-text;
1144-
margin: 7px 5px auto 0px;
1154+
margin: 0 5px 0 0;
11451155

11461156
.dark & {
11471157
border-bottom-color: @dark-bc-text;
11481158
}
11491159
}
1160+
.git-selected-remote {
1161+
position: relative;
1162+
top: -1px;
1163+
}
11501164
}
11511165
.git-remotes-dropdown {
11521166
// don't mess with this, the dropdown menu is at the top so it should grow from bottom left to top right.

0 commit comments

Comments
 (0)