From 2d1fd4b295b1b842e12d68b8a1eef8dd26800ca8 Mon Sep 17 00:00:00 2001 From: ronronscelestes Date: Tue, 24 May 2022 13:23:35 +0200 Subject: [PATCH] FolderCardBodyAction feedback fix --- .../components/FolderCard/FolderCardBodyAction/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/upload/admin/src/components/FolderCard/FolderCardBodyAction/index.js b/packages/core/upload/admin/src/components/FolderCard/FolderCardBodyAction/index.js index 4b86783b1a..1080612576 100644 --- a/packages/core/upload/admin/src/components/FolderCard/FolderCardBodyAction/index.js +++ b/packages/core/upload/admin/src/components/FolderCard/FolderCardBodyAction/index.js @@ -2,18 +2,18 @@ import React from 'react'; import PropTypes from 'prop-types'; import { NavLink } from 'react-router-dom'; import styled from 'styled-components'; +import { Box } from '@strapi/design-system/Box'; -const FolderCardLink = styled(NavLink)` - max-width: 100%; +const BoxTextDecoration = styled(Box)` text-decoration: none; `; export const FolderCardBodyAction = ({ to, ...props }) => { if (to) { - return ; + return ; } - return