Skip to content

Commit

Permalink
Web: Files: Tiles: Removed file extension from file title
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kulak committed Dec 23, 2021
1 parent 9d06c87 commit 37fb1b2
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { withTranslation } from "react-i18next";
import styled from "styled-components";

import Link from "@appserver/components/link";
import Text from "@appserver/components/text";

import TileContent from "./sub-components/TileContent";
import withContent from "../../../../../HOCs/withContent";
Expand All @@ -26,11 +25,6 @@ const SimpleFilesTileContent = styled(TileContent)`
align-self: flex-end;
}
.badge-ext {
margin-left: -8px;
margin-right: 8px;
}
.badge {
margin-right: 8px;
cursor: pointer;
Expand Down Expand Up @@ -98,18 +92,6 @@ const FilesTileContent = ({
isTextOverflow
>
{titleWithoutExt}
{fileExst ? (
<Text
className="badge-ext"
as="span"
color="#A3A9AE"
fontSize={isMobile ? "15px" : "13px"}
fontWeight={600}
truncate={true}
>
{fileExst}
</Text>
) : null}
</Link>

<div className="badges">{badgesComponent}</div>
Expand Down

0 comments on commit 37fb1b2

Please sign in to comment.