diff --git a/src/components/drawer/drawer.scss b/src/components/drawer/drawer.scss index 644c9a72..114b3baf 100644 --- a/src/components/drawer/drawer.scss +++ b/src/components/drawer/drawer.scss @@ -53,6 +53,8 @@ .drawer--top .drawer__panel { top: 0; + right: auto; + bottom: auto; left: 0; width: 100%; height: var(--size); @@ -62,12 +64,16 @@ .drawer--right .drawer__panel { top: 0; right: 0; + bottom: auto; + left: auto; width: var(--size); height: 100%; transform: translate(100%, 0); } .drawer--bottom .drawer__panel { + top: auto; + right: auto; bottom: 0; left: 0; width: 100%; @@ -77,6 +83,8 @@ .drawer--left .drawer__panel { top: 0; + right: auto; + bottom: auto; left: 0; width: var(--size); height: 100%;