From 4ca23e060882f7497808f550cd54d0c7dd3db3ea Mon Sep 17 00:00:00 2001 From: TatianaFokina Date: Tue, 21 May 2024 21:41:07 +0400 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=BE=D0=B7=D0=B2=D1=80=D0=B0=D1=89?= =?UTF-8?q?=D0=B0=D0=B5=D1=82=20Esc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/blocks/header.css | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/src/styles/blocks/header.css b/src/styles/blocks/header.css index 02c4c96c..061eb670 100644 --- a/src/styles/blocks/header.css +++ b/src/styles/blocks/header.css @@ -114,6 +114,11 @@ gap: 16px; } +.hotkey__key { + font-family: inherit; + display: none; +} + /* скрываем/показываем горячие клавиши */ .hotkey--close { display: none; @@ -127,20 +132,11 @@ display: none; } -.hotkey__key { - font-family: inherit; - display: none; -} - -@media (width >= 768px) { - .header--open .hotkey--close { - display: none; - } -} - @media (width >= 1024px) { - .hotkey--search, .hotkey__key { - display: inline; + .hotkey__key, + .hotkey--search, + .header--open .hotkey--close { + display: inline-block; } }