From 9e5a39c78eed46f99e6346ea25160fedb79427a3 Mon Sep 17 00:00:00 2001 From: AlexeySafronov Date: Wed, 30 Dec 2020 19:29:47 +0300 Subject: [PATCH] Remove useless code --- .../VersionHistory/Section/Header/index.js | 42 +------------------ 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/products/ASC.Files/Client/src/components/pages/VersionHistory/Section/Header/index.js b/products/ASC.Files/Client/src/components/pages/VersionHistory/Section/Header/index.js index 20f7022c34..2ec7176b85 100644 --- a/products/ASC.Files/Client/src/components/pages/VersionHistory/Section/Header/index.js +++ b/products/ASC.Files/Client/src/components/pages/VersionHistory/Section/Header/index.js @@ -3,10 +3,7 @@ import styled from "styled-components"; import { Headline } from "asc-web-common"; import { IconButton, utils } from "asc-web-components"; -import { setFilesFilter } from "../../../../../store/files/actions"; -import { getFilter } from "../../../../../store/files/selectors"; - -const { tablet, desktop } = utils.device; +const { desktop } = utils.device; const StyledContainer = styled.div` display: grid; @@ -24,43 +21,6 @@ const StyledContainer = styled.div` } } - .group-button-menu-container { - margin: 0 -16px; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - - @media ${tablet} { - & > div:first-child { - position: absolute; - top: 56px; - z-index: 180; - } - } - - @media ${desktop} { - margin: 0 -24px; - } - } - - .header-container { - position: relative; - - display: flex; - align-items: center; - max-width: calc(100vw - 32px); - - .action-button { - margin-left: 16px; - - @media ${tablet} { - margin-left: auto; - - & > div:first-child { - padding: 8px 16px 8px 16px; - margin-right: -16px; - } - } - } - } .headline-header { @media ${desktop} { margin-left: -9px;