MenuToggle fix
This commit is contained in:
1 parent
7c320b98da
commit
64b51363a8
1 file changed
+5
-1
@@ -19,10 +19,13 @@ export const MenuToggle: React.FC<IMenuToggleProps> = props => {
|
|||||||
>
|
>
|
||||||
<style jsx>{`
|
<style jsx>{`
|
||||||
div {
|
div {
|
||||||
|
--hmenu-margin: 6px;
|
||||||
|
--hmenu-icon-width: 32px;
|
||||||
|
--hmenu-icon-height: 32px;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: var(--hmenu-icon-height);
|
height: var(--hmenu-icon-height);
|
||||||
margin: var(--hmenu-margin);
|
margin: var(--hmenu-margin);
|
||||||
display: flex;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.right {
|
div.right {
|
||||||
@@ -36,6 +39,7 @@ export const MenuToggle: React.FC<IMenuToggleProps> = props => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
display: block;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user