bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/notes/styles.js

27 lines
632 B
JavaScript
Raw Normal View History

2021-10-28 01:48:15 +08:00
import styled from 'styled-components';
import {
mdPaddingX,
} from '/imports/ui/stylesheets/styled-components/general';
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
2021-10-28 01:48:15 +08:00
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
const Notes = styled.div`
2021-10-28 01:48:15 +08:00
background-color: ${colorWhite};
padding: ${mdPaddingX};
2021-10-28 01:48:15 +08:00
display: flex;
flex-grow: 1;
flex-direction: column;
overflow: hidden;
height: 100%;
${({ isChrome }) => isChrome && `
transform: translateZ(0);
`}
@media ${smallOnly} {
transform: none !important;
}
`;
export default { Notes };