mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
style: Removes extra spaces (#6558)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
f6f9ed0396
commit
6977c32631
10 changed files with 10 additions and 21 deletions
|
@ -661,7 +661,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||
)}
|
||||
<main>{this.renderCanvas()}</main>
|
||||
</ExcalidrawActionManagerContext.Provider>
|
||||
</ExcalidrawElementsContext.Provider>{" "}
|
||||
</ExcalidrawElementsContext.Provider>
|
||||
</ExcalidrawAppStateContext.Provider>
|
||||
</ExcalidrawSetAppStateContext.Provider>
|
||||
</DeviceContext.Provider>
|
||||
|
|
|
@ -154,7 +154,7 @@ const RoomDialog = ({
|
|||
<p>
|
||||
<span role="img" aria-hidden="true" className="RoomDialog-emoji">
|
||||
{"🔒"}
|
||||
</span>{" "}
|
||||
</span>
|
||||
{t("roomDialog.desc_privacy")}
|
||||
</p>
|
||||
<p>{t("roomDialog.desc_exitSession")}</p>
|
||||
|
|
|
@ -161,8 +161,7 @@ export default function App({ appTitle, useCustom, customArgs }: AppProps) {
|
|||
onClick={() => alert("This is an empty top right UI")}
|
||||
style={{ height: "2.5rem" }}
|
||||
>
|
||||
{" "}
|
||||
Click me{" "}
|
||||
Click me
|
||||
</button>
|
||||
</>
|
||||
);
|
||||
|
|
|
@ -65,8 +65,7 @@ const CustomFooter = ({
|
|||
className="custom-footer"
|
||||
onClick={() => alert("This is dummy footer")}
|
||||
>
|
||||
{" "}
|
||||
custom footer{" "}
|
||||
custom footer
|
||||
</button>
|
||||
</>
|
||||
);
|
||||
|
|
|
@ -11,7 +11,7 @@ export default function Sidebar({ children }: { children: React.ReactNode }) {
|
|||
</button>
|
||||
<div className="sidebar-links">
|
||||
<button>Empty Home</button>
|
||||
<button>Empty About</button>{" "}
|
||||
<button>Empty About</button>
|
||||
</div>
|
||||
</div>
|
||||
<div className={`${open ? "sidebar-open" : ""}`}>
|
||||
|
|
|
@ -43,7 +43,6 @@ exports[`<Excalidraw/> <MainMenu/> should render main menu with host menu items
|
|||
<button
|
||||
style="height: 2rem;"
|
||||
>
|
||||
|
||||
custom menu item
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -220,7 +220,6 @@ describe("<Excalidraw/>", () => {
|
|||
style={{ height: "2rem" }}
|
||||
onClick={() => window.alert("custom menu item")}
|
||||
>
|
||||
{" "}
|
||||
custom item
|
||||
</button>
|
||||
</MainMenu.ItemCustom>
|
||||
|
@ -345,7 +344,6 @@ describe("<Excalidraw/>", () => {
|
|||
style={{ height: "2rem" }}
|
||||
onClick={() => window.alert("custom menu item")}
|
||||
>
|
||||
{" "}
|
||||
custom menu item
|
||||
</button>
|
||||
</MainMenu.ItemCustom>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue