mirror of
https://github.com/detleph/components.git
synced 2026-09-08 23:44:23 +02:00
Add support for "outside elements" (Popups, Drawers, ...)
+ Add Drawer + Add new root in the HTML (should be included in production)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<div id="detleph-fg-context"></div>
|
||||
@@ -1,3 +1,22 @@
|
||||
<script>
|
||||
window.global = window;
|
||||
</script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
#detleph-fg-context {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#detleph-fg-context:empty {
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user