diff --git a/package.json b/package.json index 4bbb40a123..4f985a0ea4 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "url": "https://github.com/inovex/scrumlr.io/issues", "email": "info@scrumlr.io" }, - "version": "2.6.3", + "version": "2.6.4", "private": true, "license": "MIT", "dependencies": { diff --git a/src/components/Board/Board.tsx b/src/components/Board/Board.tsx index bc2870b438..4912d77304 100644 --- a/src/components/Board/Board.tsx +++ b/src/components/Board/Board.tsx @@ -113,7 +113,6 @@ export const BoardComponent = ({children, currentUserIsModerator, moderating}: B }, [columnState]); if (!children || columnsCount === 0) { - document.getElementById("root")?.setAttribute("column-visibility", "visible"); // Empty board return (
diff --git a/src/components/Column/Column.scss b/src/components/Column/Column.scss index 572706736c..0e8617d27c 100644 --- a/src/components/Column/Column.scss +++ b/src/components/Column/Column.scss @@ -146,7 +146,7 @@ grid-column-gap: 24px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); } -[column-visibility="collapsed"] .column__note-list { +.column__note-list { padding-bottom: 72px; } diff --git a/src/components/MenuBars/MenuBars.scss b/src/components/MenuBars/MenuBars.scss index 15ef3e0faa..f04642cc55 100644 --- a/src/components/MenuBars/MenuBars.scss +++ b/src/components/MenuBars/MenuBars.scss @@ -96,6 +96,11 @@ $box-shadow: 0px 10px 20px #00000026; opacity: 1; transform: translateY(0); } + + :not(.menu-bars--isAdmin).menu-bars--user > .user-menu { + transform: translateX(-50%); + } + .menu-bars.menu-bars--user > .admin-menu { visibility: hidden; opacity: 0; diff --git a/src/components/MenuBars/MenuItem/MenuButton.tsx b/src/components/MenuBars/MenuItem/MenuButton.tsx index e56787707d..653433a5ce 100644 --- a/src/components/MenuBars/MenuItem/MenuButton.tsx +++ b/src/components/MenuBars/MenuItem/MenuButton.tsx @@ -1,7 +1,7 @@ import classNames from "classnames"; import {TabIndex} from "constants/tabIndex"; -import {useState} from "react"; import "./MenuItem.scss"; +import React from "react"; type MenuButtonProps = { direction: "left" | "right"; @@ -13,31 +13,13 @@ type MenuButtonProps = { }; export const MenuButton = (props: MenuButtonProps) => { - const [touchHover, setTouchHover] = useState(false); const Icon = props.icon; return (