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

* show lockicon on a second row

* fix darkMode toggle acting as a lock icon

Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
Faustino Kialungila 2020-12-06 12:40:11 +01:00 committed by GitHub
parent 6081bb5941
commit fb02329c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ export const DarkModeToggle = (props: {
}) => { }) => {
return ( return (
<label <label
className={`ToolIcon ToolIcon__lock ToolIcon_type_floating ToolIcon_size_M`} className={`ToolIcon ToolIcon_type_floating ToolIcon_size_M`}
title={t("buttons.toggleDarkMode")} title={t("buttons.toggleDarkMode")}
> >
<input <input

View File

@ -151,7 +151,7 @@
} }
} }
@media (max-width: 360px) { @media (max-width: 760px) {
.ToolIcon.ToolIcon__lock { .ToolIcon.ToolIcon__lock {
display: inline-block; display: inline-block;
position: absolute; position: absolute;