feat(in-142): fixes

pull/6/head
Ruslan Khayrullin 3 years ago
parent dd46d466d0
commit c1a5832978
  1. 1
      src/features/MatchSidePlaylists/components/TabStats/styled.tsx
  2. 4
      src/features/MatchSidePlaylists/components/TeamsStatsTable/styled.tsx
  3. 17
      src/features/MatchSidePlaylists/styled.tsx

@ -62,6 +62,7 @@ export const SwitchButton = styled.button<SwitchButtonProps>`
${TooltipWrapper} {
left: auto;
right: 0;
top: 15px;
padding: 2px 10px;
border-radius: 6px;
transform: none;

@ -5,6 +5,9 @@ import { Name } from 'features/Name'
export const Container = styled.div`
width: 100%;
font-size: 11px;
overflow: hidden;
border-radius: 5px;
background-color: #333333;
`
export const TeamShortName = styled(Name)`
@ -22,7 +25,6 @@ export const Row = styled.div`
height: 45px;
padding: 0 12px;
border-bottom: 0.5px solid rgba(255, 255, 255, 0.5);
background-color: #333333;
:last-child {
border-bottom: none;

@ -56,6 +56,12 @@ export const TabsGroup = styled.div.attrs({ role: 'tablist' })<TabsGroupProps>`
: ''};
`
export const TabTitle = styled(T9n)`
font-size: 8px;
text-transform: uppercase;
color: ${({ theme }) => theme.colors.white};
`
export const Tab = styled.button.attrs({ role: 'tab' })`
display: flex;
flex-direction: column;
@ -69,6 +75,11 @@ export const Tab = styled.button.attrs({ role: 'tab' })`
&[aria-pressed="true"], :hover {
opacity: 1;
${TabTitle} {
font-size: 9px;
font-weight: 600;
}
}
`
@ -91,12 +102,6 @@ export const TabIcon = styled.div<TabIconProps>`
: '')}
`
export const TabTitle = styled(T9n)`
font-size: 8px;
text-transform: uppercase;
color: ${({ theme }) => theme.colors.white};
`
type TContainer = {
forWatchTab?: boolean,
hasScroll: boolean,

Loading…
Cancel
Save