source: sources/client/src/components/DropdownViewer/styles.js@ bc20307

Last change on this file since bc20307 was bc20307, checked in by Tasevski2 <39170279+Tasevski2@…>, 2 years ago

Push before video

  • Property mode set to 100644
File size: 467 bytes
Line 
1import styled from 'styled-components';
2import Select from '@mui/material/Select';
3import { Typography } from '@mui/material';
4
5export const Dropdown = styled(Select).attrs((props) => ({
6 sx: {
7 width: props.width ?? '70%',
8 textAlign: 'center',
9 },
10}))`
11 > div {
12 padding: 11px 32px 11px 9px;
13 }
14`;
15
16export const DropdownItem = styled(Typography).attrs({
17 variant: 'h4',
18})`
19 font-size: 1rem;
20 font-weight: 500;
21 margin-top: 5px;
22 padding: 5px;
23`;
Note: See TracBrowser for help on using the repository browser.