Client: Shared: Fix filename with extension in RTL

This commit is contained in:
Aleksandr Lushkin 2024-08-28 12:59:48 +02:00
parent 2ab63a3029
commit 14e762581e
2 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,7 @@ const SimpleFilesTileContent = styled(TileContent)`
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
text-align: start;
}
.item-file-exst {
@ -147,6 +148,7 @@ const FilesTileContent = ({
{...linkStyles}
color={theme.filesSection.tilesView.color}
isTextOverflow
dir="auto"
>
{titleWithoutExt}
{displayFileExtension && (

View File

@ -85,6 +85,8 @@ export const StyledAutoDirSpan = styled.span`
pointer-events: none;
width: inherit;
max-width: inherit;
-webkit-line-clamp: inherit;
-webkit-box-orient: inherit;
`;
export default StyledText;