fix(client): draw the registry popover's hairline as its elevation stroke
master's elevation contract (elevation-styles.client.spec.ts) rejects a neutral border beside an lv/elevation shadow: the stroke belongs to the shadow. The registry options keep their l3 hairline through --dsw-elevation-stroke-color, as Menu does, with border: 0.
This commit is contained in:
1 parent
5fe06ee64b
commit
61b099b77c
1 file changed
+3
-1
@@ -636,9 +636,11 @@
|
||||
width: min(440px, calc(100vw - 24px));
|
||||
margin: 0;
|
||||
padding: 8px 10px 12px;
|
||||
border: 0.5px solid var(--dsw-alias-border-l3);
|
||||
border: 0;
|
||||
border-radius: 12px;
|
||||
background: var(--dsw-alias-bg-layer-2);
|
||||
/* The neutral stroke is the elevation's hairline, not a border beside it. */
|
||||
--dsw-elevation-stroke-color: var(--dsw-alias-border-l3);
|
||||
box-shadow: var(--dsw-elevation-prominent);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user