fix: commands menu overlay
This commit is contained in:
@@ -18,6 +18,7 @@ import moreIcon from "../../../assets/icons/more.svg?url";
|
|||||||
import toast from "react-hot-toast";
|
import toast from "react-hot-toast";
|
||||||
import useMessageOperation from "./useMessageOperation";
|
import useMessageOperation from "./useMessageOperation";
|
||||||
const StyledCmds = styled.ul`
|
const StyledCmds = styled.ul`
|
||||||
|
z-index: 999;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -159,6 +160,8 @@ export default function Commands({
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
</li>
|
</li>
|
||||||
<Tippy
|
<Tippy
|
||||||
|
duration={0}
|
||||||
|
delay={[0, 0]}
|
||||||
onShow={handleTippyVisible.bind(null, true)}
|
onShow={handleTippyVisible.bind(null, true)}
|
||||||
onHide={handleTippyVisible.bind(null, false)}
|
onHide={handleTippyVisible.bind(null, false)}
|
||||||
interactive
|
interactive
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const StyledWrapper = styled.div`
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-width: 260px;
|
min-width: 268px;
|
||||||
box-shadow: inset -1px 0px 0px rgba(0, 0, 0, 0.05);
|
box-shadow: inset -1px 0px 0px rgba(0, 0, 0, 0.05);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const Styled = styled.div`
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
.left {
|
.left {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
width: 268px;
|
min-width: 268px;
|
||||||
box-shadow: inset -1px 0px 0px rgba(0, 0, 0, 0.1);
|
box-shadow: inset -1px 0px 0px rgba(0, 0, 0, 0.1);
|
||||||
.filters {
|
.filters {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user