Skip to content

Commit

Permalink
Merge pull request #19818 from KDSBrowne/v3-hide-minimap
Browse files Browse the repository at this point in the history
fix(whiteboard): Hide Tldraw Native Navigation And Control Elements
  • Loading branch information
ramonlsouza committed Mar 18, 2024
2 parents cd5c92d + cda9f43 commit d95a48a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const TldrawV2GlobalStyle = createGlobalStyle`
.tlui-navigation-zone,
.tlui-help-menu,
.tlui-debug-panel {
display: none;
display: none !important;
}
.tlui-style-panel__wrapper {
Expand Down Expand Up @@ -93,8 +93,8 @@ const TldrawV2GlobalStyle = createGlobalStyle`
[data-testid="main.menu"],
[data-testid="tools.laser"],
[data-testid="tools.asset"],
.tlui-menu-zone__controls > :nth-child(1),
.tlui-menu-zone__controls > :nth-child(2) {
.tlui-buttons__horizontal > :nth-child(1),
.tlui-buttons__horizontal > :nth-child(2) {
display: none;
}
Expand Down

0 comments on commit d95a48a

Please sign in to comment.