bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/pads/content/styles.js
gabriellpr ec34e7e105 etherpad cutting text
fixing etherpad alignment for lock viewers

removing break words

fix: break-word

adding white-space
2022-06-10 16:00:54 -03:00

55 lines
913 B
JavaScript

import styled from 'styled-components';
import {
colorGray,
colorGrayLightest
} from '/imports/ui/stylesheets/styled-components/palette';
const Wrapper = styled.div`
display: flex;
height: 100%;
position: relative;
width: 100%;
`;
const contentText = `
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
color: ${colorGray};
bottom: 0;
box-sizing: border-box;
display: block;
overflow-x: hidden;
overflow-wrap: break-word;
overflow-y: auto;
padding-top: 1rem;
position: absolute;
right: 0;
left:0;
top: 0;
white-space: normal;
[dir="ltr"] & {
padding-left: 1rem;
padding-right: .5rem;
}
[dir="rtl"] & {
padding-left: .5rem;
padding-right: 1rem;
}
`;
const Iframe = styled.iframe`
border-width: 0;
width: 100%;
border-top: 1px solid ${colorGrayLightest};
border-bottom: 1px solid ${colorGrayLightest};
`;
export default {
Wrapper,
Iframe,
contentText,
};