Skip to content

Commit 02d971e

Browse files
committed
Removes media condition on AI-PR button styling
(#4332, #4347)
1 parent 6be226d commit 02d971e

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

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

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -191,19 +191,6 @@ export const branchCardStyles = css`
191191
--button-foreground: inherit;
192192
}
193193
194-
.branch-item__is-narrow {
195-
display: none;
196-
}
197-
198-
@media (max-width: 330px) {
199-
.branch-item__is-narrow {
200-
display: block;
201-
}
202-
.branch-item__is-wide {
203-
display: none;
204-
}
205-
}
206-
207194
:host-context(.vscode-dark) .branch-item__missing,
208195
:host-context(.vscode-high-contrast) .branch-item__missing {
209196
--button-background: color-mix(in lab, var(--vscode-sideBar-background) 100%, #fff 3%);
@@ -821,12 +808,7 @@ export abstract class GlBranchCardBase extends GlElement {
821808
},
822809
)}"
823810
>
824-
<code-icon
825-
class="branch-item__is-wide"
826-
icon="sparkle"
827-
slot="prefix"
828-
></code-icon>
829-
<code-icon class="branch-item__is-narrow" icon="sparkle"></code-icon>
811+
<code-icon icon="sparkle"></code-icon>
830812
</gl-button>`
831813
: nothing}
832814
</button-container>

0 commit comments

Comments
 (0)