Skip to content

Commit

Permalink
Multilinearity
Browse files Browse the repository at this point in the history
  • Loading branch information
Leshe4ka committed May 17, 2024
1 parent 3c89d07 commit 0b6286d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 3 additions & 6 deletions frontend/src/components/Nav/Menu/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const MenuItem = styled('li').attrs({ role: 'menuitem' })<{
({ theme, $variant, $isActive }) => css`
font-size: 14px;
font-weight: ${theme.menu[$isActive ? 'primary' : $variant].fontWeight};
height: 32px;
min-height: 32px;
display: flex;
align-items: center;
justify-content: space-between;
Expand Down Expand Up @@ -48,15 +48,12 @@ export const MenuItem = styled('li').attrs({ role: 'menuitem' })<{

export const ContentWrapper = styled.div`
display: flex;
align-items: center;
align-items: baseline;
column-gap: 4px;
`;

export const Title = styled.div`
white-space: nowrap;
max-width: 110px;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
`;

export const StatusIconWrapper = styled.svg.attrs({
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/components/Nav/Nav.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import styled from 'styled-components';
import { ClusterColorKey } from 'theme/theme';

export const List = styled.ul.attrs({ role: 'menu' })`
padding: 2px 4px 6px 8px;
& > & {
padding: 0 0 0 8px;
}
Expand Down

0 comments on commit 0b6286d

Please sign in to comment.