-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use absolute position handle KMask (#129)
* fix: use absolute position handle KMask * test: updated snap
- Loading branch information
1 parent
47a1473
commit 6dfa245
Showing
4 changed files
with
32 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`Test: KDrawer > slot: content 1`] = `"<div style=\\"top: 0px; left: 0px; width: 100%; height: 100%;\\" class=\\"k-mask--base \\"><div class=\\"k-drawer--base k-drawer--base__dark right-0 \\"><div class=\\"k-drawer--op justify-start\\"><div role=\\"button\\" aria-hidden=\\"true\\" class=\\"k-icon--base k-icon--base__dark cursor-pointer \\"><div class=\\"i-carbon-chevron-right k-icon-transition hover:text-main\\" style=\\"width: 24px; height: 24px;\\"></div></div></div> <div class=\\"k-drawer--content\\" style=\\"height: calc(100% - 24px);\\"><div class=\\"w-full fc\\" id=\\"k_drawer_content\\"><h2 class=\\"w-300px text-center !my-2\\">A person's loneliness, never had the lonely mood is wrapped by this dark night.</h2></div></div></div></div>"`; | ||
exports[`Test: KDrawer > slot: content 1`] = `"<div style=\\"top: 0px; left: 0px; width: 100%; height: 100%; position: fixed;\\" class=\\"k-mask--base \\"><div class=\\"k-drawer--base k-drawer--base__dark right-0 \\"><div class=\\"k-drawer--op justify-start\\"><div role=\\"button\\" aria-hidden=\\"true\\" class=\\"k-icon--base k-icon--base__dark cursor-pointer \\"><div class=\\"i-carbon-chevron-right k-icon-transition hover:text-main\\" style=\\"width: 24px; height: 24px;\\"></div></div></div> <div class=\\"k-drawer--content\\" style=\\"height: calc(100% - 24px);\\"><div class=\\"w-full fc\\" id=\\"k_drawer_content\\"><h2 class=\\"w-300px text-center !my-2\\">A person's loneliness, never had the lonely mood is wrapped by this dark night.</h2></div></div></div></div>"`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const maskShortcuts: Record<string, string> = { | ||
// mask | ||
'k-mask--base': 'ikun:50:bg-ikun-black z-999 fixed' | ||
'k-mask--base': 'ikun:50:bg-ikun-black z-999 absolute' | ||
}; |