bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/nav-bar/settings-dropdown/styles.js

21 lines
453 B
JavaScript
Raw Normal View History

import styled from 'styled-components';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
2022-02-15 04:20:50 +08:00
import Button from '/imports/ui/components/common/button/component';
const DropdownButton = styled(Button)`
${({ state }) => state === 'open' && `
@media ${smallOnly} {
display: none;
}
`}
${({ state }) => state === 'closed' && `
margin: 0;
z-index: 3;
`}
`;
export default {
DropdownButton,
};