Skip to content

Commit 0b6286d

Browse files
author
Leshe4ka
committed
Multilinearity
1 parent 3c89d07 commit 0b6286d

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

frontend/src/components/Nav/Menu/styled.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const MenuItem = styled('li').attrs({ role: 'menuitem' })<{
1313
({ theme, $variant, $isActive }) => css`
1414
font-size: 14px;
1515
font-weight: ${theme.menu[$isActive ? 'primary' : $variant].fontWeight};
16-
height: 32px;
16+
min-height: 32px;
1717
display: flex;
1818
align-items: center;
1919
justify-content: space-between;
@@ -48,15 +48,12 @@ export const MenuItem = styled('li').attrs({ role: 'menuitem' })<{
4848

4949
export const ContentWrapper = styled.div`
5050
display: flex;
51-
align-items: center;
51+
align-items: baseline;
5252
column-gap: 4px;
5353
`;
5454

5555
export const Title = styled.div`
56-
white-space: nowrap;
57-
max-width: 110px;
58-
overflow: hidden;
59-
text-overflow: ellipsis;
56+
width: 100%;
6057
`;
6158

6259
export const StatusIconWrapper = styled.svg.attrs({

frontend/src/components/Nav/Nav.styled.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import styled from 'styled-components';
22
import { ClusterColorKey } from 'theme/theme';
33

44
export const List = styled.ul.attrs({ role: 'menu' })`
5-
padding: 2px 4px 6px 8px;
6-
75
& > & {
86
padding: 0 0 0 8px;
97
}

0 commit comments

Comments
 (0)