mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 16:03:50 -04:00
refactor(web): continue replacing PortalToFollowElem with Popover components (#35431)
Co-authored-by: CodingOnStar <hanxujiang@dify.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -55,7 +55,7 @@ pnpm -C web lint:fix --prune-suppressions <changed-files>
|
||||
|
||||
## z-index strategy
|
||||
|
||||
All new overlay primitives in `@langgenius/dify-ui` share a single z-index value:
|
||||
All new overlay primitives in `@langgenius/dify-ui/*` share a single z-index value:
|
||||
**`z-1002`**, except Toast which stays one layer above at **`z-1003`**.
|
||||
|
||||
### Why z-[1002]?
|
||||
@@ -94,7 +94,7 @@ back to `z-9999`.
|
||||
|
||||
Once all legacy overlays are removed:
|
||||
|
||||
1. Reduce `z-1002` back to `z-50` across all `@langgenius/dify-ui` primitives.
|
||||
1. Reduce `z-1002` back to `z-50` across all `@langgenius/dify-ui/*` primitives.
|
||||
1. Reduce Toast from `z-1003` to `z-51`.
|
||||
1. Remove this section from the migration guide.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user