Merge pull request #19903 from KDSBrowne/v3-19861
fix(whiteboard): Update CSS To Disable Asset And Laser Tool
This commit is contained in:
commit
55eeadc249
@ -1,10 +1,4 @@
|
||||
import styled, { createGlobalStyle } from 'styled-components';
|
||||
import { borderSize, borderSizeLarge } from '/imports/ui/stylesheets/styled-components/general';
|
||||
import { toolbarButtonColor, colorWhite, colorBlack } from '/imports/ui/stylesheets/styled-components/palette';
|
||||
import {
|
||||
fontSizeLarger,
|
||||
} from '/imports/ui/stylesheets/styled-components/typography';
|
||||
import Button from '/imports/ui/components/common/button/component';
|
||||
|
||||
const TldrawV2GlobalStyle = createGlobalStyle`
|
||||
${({ isPresenter, hasWBAccess }) => (!isPresenter && hasWBAccess) && `
|
||||
@ -91,11 +85,11 @@ const TldrawV2GlobalStyle = createGlobalStyle`
|
||||
|
||||
[data-testid="main.page-menu"],
|
||||
[data-testid="main.menu"],
|
||||
[data-testid="tools.laser"],
|
||||
[data-testid="tools.more.laser"],
|
||||
[data-testid="tools.asset"],
|
||||
.tlui-buttons__horizontal > :nth-child(1),
|
||||
.tlui-buttons__horizontal > :nth-child(2) {
|
||||
display: none;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.tl-collaborator__cursor {
|
||||
|
Loading…
Reference in New Issue
Block a user