Scroll tab list on record show (#3561)
* scroll tab list on record show #3275 * update the style of tab --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -30,7 +30,7 @@ const StyledTab = styled.div<{ active?: boolean; disabled?: boolean }>`
|
||||
display: flex;
|
||||
gap: ${({ theme }) => theme.spacing(1)};
|
||||
justify-content: center;
|
||||
margin-bottom: -1px;
|
||||
margin-bottom: 0;
|
||||
padding: ${({ theme }) => theme.spacing(2) + ' 0'};
|
||||
pointer-events: ${({ disabled }) => (disabled ? 'none' : '')};
|
||||
`;
|
||||
|
||||
@ -29,6 +29,7 @@ const StyledContainer = styled.div`
|
||||
height: 40px;
|
||||
padding-left: ${({ theme }) => theme.spacing(2)};
|
||||
user-select: none;
|
||||
overflow: auto;
|
||||
`;
|
||||
|
||||
export const TabList = ({ tabs, tabListId }: TabListProps) => {
|
||||
|
||||
Reference in New Issue
Block a user