Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

show lockicon on a second row on mobile (#2462)

Faustino Kialungilafb02329c11d9
diff --git a/src/components/DarkModeToggle.tsx b/src/components/DarkModeToggle.tsx
index d0abc0f618..13495bf9d7 100644
--- a/src/components/DarkModeToggle.tsx
+++ b/src/components/DarkModeToggle.tsx
@@ -13,7 +13,7 @@ export const DarkModeToggle = (props: {
}) => {
return (
<label
- className={`ToolIcon ToolIcon__lock ToolIcon_type_floating ToolIcon_size_M`}
+ className={`ToolIcon ToolIcon_type_floating ToolIcon_size_M`}
title={t("buttons.toggleDarkMode")}
>
<input
diff --git a/src/components/ToolIcon.scss b/src/components/ToolIcon.scss
index 76564fe8d7..7bdf4fe7c1 100644
--- a/src/components/ToolIcon.scss
+++ b/src/components/ToolIcon.scss
@@ -151,7 +151,7 @@
}
}
- @media (max-width: 360px) {
+ @media (max-width: 760px) {
.ToolIcon.ToolIcon__lock {
display: inline-block;
position: absolute;