Skip to content

Commit

Permalink
Web: Files: Tiles: Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kulak committed Dec 23, 2021
1 parent 22e446d commit c4c8970
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion products/ASC.Files/Client/src/components/Badges.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useEffect } from "react";
import React from "react";
import Badge from "@appserver/components/badge";
import IconButton from "@appserver/components/icon-button";
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ const StyledFileTileTop = styled.div`
bottom: 0;
margin: auto;
z-index: 0;
width: 190px;
height: 132px;
}
.temporary-icon > .injected-svg {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,6 @@ const paddingCss = css`
}
`;

// const foldersStyle = css`
// grid-gap: 16px;
//
// ${paddingCss}
// `;
//
// const filesStyle = css`
// grid-gap: 16px;
//
// ${paddingCss}
// `;

const StyledGridWrapper = styled.div`
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
Expand All @@ -49,7 +37,6 @@ const StyledGridWrapper = styled.div`

const StyledTileContainer = styled.div`
position: relative;
margin-top: -4px;
.tile-item-wrapper {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ const getSideInfo = (content) => {
};

const TileContent = (props) => {
//console.log("TileContent render");
const {
children,
disableSideInfo,
Expand Down
1 change: 0 additions & 1 deletion products/ASC.Files/Client/src/pages/Home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ class PureHome extends React.Component {
isHeaderVisible={isHeaderVisible}
onOpenUploadPanel={this.showUploadPanel}
firstLoad={firstLoad}
dragging={dragging}
>
<PageLayout.ArticleHeader>
<ArticleHeaderContent />
Expand Down

0 comments on commit c4c8970

Please sign in to comment.