feat: set widt to 100%
This commit is contained in:
@@ -15,7 +15,7 @@ const StyledNavBar = styled.div<{ browserWidth: number; isDarkMode: boolean }>`
|
|||||||
display: flex;
|
display: flex;
|
||||||
padding: 12px 0px;
|
padding: 12px 0px;
|
||||||
background-color: ${({ isDarkMode }) => (isDarkMode ? '#2C2F33' : '#f6f6f6')};
|
background-color: ${({ isDarkMode }) => (isDarkMode ? '#2C2F33' : '#f6f6f6')};
|
||||||
width: ${({ browserWidth }) => browserWidth}px;
|
width: 100%;
|
||||||
border-radius: 0px 5px 0px 0px;
|
border-radius: 0px 5px 0px 0px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,8 @@ export const BrowserTabs = (
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box sx={{
|
<Box sx={{
|
||||||
width: 800, // Fixed width
|
width: '100%',
|
||||||
|
maxWidth: '100%',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
overflow: 'auto',
|
overflow: 'auto',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
|
|||||||
Reference in New Issue
Block a user