Skip to content

Commit a31df55

Browse files
wgqqqqqlimityan
authored andcommitted
fix(web): align ACP mode menu with surface contract
1 parent 8faf821 commit a31df55

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/web-ui/src/flow_chat/components/AcpModeSelector.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use '../../component-library/styles/tokens' as *;
2+
@use '../../component-library/styles/overlay-surfaces' as surfaces;
23

34
.bitfun-acp-mode-selector {
45
position: relative;
@@ -51,16 +52,14 @@
5152
}
5253

5354
&__menu {
55+
@include surfaces.floating-surface;
56+
5457
--acp-mode-menu-offset: -4px;
5558

5659
min-width: clamp(0px, 190px, calc(100vw - 16px));
5760
max-width: clamp(0px, 240px, calc(100vw - 16px));
5861
padding: 4px;
5962
overflow: hidden;
60-
background: var(--bf-appearance-token-color-bg-elevated);
61-
border: 1px solid var(--bf-appearance-token-border-subtle);
62-
border-radius: 6px;
63-
box-shadow: 0 8px 32px var(--bf-appearance-token-color-overlay-black-50);
6463
z-index: $z-popover;
6564
transform-origin: center top;
6665
transition:

0 commit comments

Comments
 (0)