From e487f8c571c6384b8cef65948aafdac5aeab58cf Mon Sep 17 00:00:00 2001 From: nizune <9-nizune@users.noreply.gitlab.insrt.uk> Date: Thu, 8 Jul 2021 15:16:23 +0200 Subject: [PATCH] Small fixes --- .../common/messaging/bars/FilePreview.tsx | 1 - src/pages/settings/panes/Panes.module.scss | 33 ++++++++++++++----- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/src/components/common/messaging/bars/FilePreview.tsx b/src/components/common/messaging/bars/FilePreview.tsx index e8cea2f3..b33edcaa 100644 --- a/src/components/common/messaging/bars/FilePreview.tsx +++ b/src/components/common/messaging/bars/FilePreview.tsx @@ -107,7 +107,6 @@ const PreviewBox = styled.div` .icon { height: 100px; - width: 100%; margin-bottom: 4px; object-fit: contain; } diff --git a/src/pages/settings/panes/Panes.module.scss b/src/pages/settings/panes/Panes.module.scss index dc614c1b..95a57cb1 100644 --- a/src/pages/settings/panes/Panes.module.scss +++ b/src/pages/settings/panes/Panes.module.scss @@ -320,15 +320,7 @@ flex-grow: 1; } - @media only screen and (max-width: 900px) { - align-items: unset; - flex-direction: column; - gap: 20px; - - > button { - width: 100%; - } - } + } .entry { @@ -343,6 +335,13 @@ color: var(--primary-background); background: var(--accent); margin-bottom: 20px; + + .session .detail .info > input { + &:focus { + border-bottom: 2px solid var(--primary-background); + } + } + } &[data-deleting="true"] { @@ -423,6 +422,22 @@ > button { margin-top: 20px; } + + @media only screen and (max-width: 900px) { + .session { + align-items: unset; + flex-direction: column; + gap: 20px; + + > button { + width: 100%; + } + } + + > button { + width: 100%; + } + } } .languages {