Skip to content

Commit e589aeb

Browse files
committed
Fixes appearance of tooltip of "create PR with AI" button
Uses `media` query on max-width instead of `container` (vscode-gitlens-private#43)
1 parent 55b2674 commit e589aeb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/webviews/apps/plus/home/components/branch-card.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ export const branchCardStyles = css`
174174
.branch-item__row {
175175
display: flex;
176176
gap: 0.8rem;
177-
container-type: inline-size;
178-
contain: layout;
179177
}
180178
181179
.branch-item__row [full] {
@@ -190,7 +188,7 @@ export const branchCardStyles = css`
190188
display: none;
191189
}
192190
193-
@container (max-width: 330px) {
191+
@media (max-width: 330px) {
194192
.branch-item__is-narrow {
195193
display: block;
196194
}

0 commit comments

Comments
 (0)