From ced2458d35e8a7cee452189ce6439b38da1a20c4 Mon Sep 17 00:00:00 2001 From: Kirti LNU Date: Thu, 17 Oct 2019 23:47:35 +0530 Subject: [PATCH 1/2] Ui changed accr to media query --- src/common/common.css | 19 +++++++++++++++++++ src/options/options.html | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/common/common.css b/src/common/common.css index c55b48a7..11e799b9 100644 --- a/src/common/common.css +++ b/src/common/common.css @@ -133,6 +133,8 @@ a:active { padding: 4px; border-radius: 4px; + display: flex; + /* use whole width */ width: calc(100% - 8px); @@ -171,6 +173,21 @@ a:active { margin-top: 8px; } +@media screen and (max-width: 767px) { + .message-box { + flex-wrap: wrap; + } + .message-text { + display: inline-block; + } + + .message-link { + flex-basis: 100%; + margin: 8px 0 auto 18px; + + } +} + .error { color: var(--white-100); background-color: var(--red-60); @@ -223,6 +240,8 @@ a:active { margin: 4px; } + + .error::before { background-image: url('/common/img/error-white.svg'); } diff --git a/src/options/options.html b/src/options/options.html index 1649ae24..c7727abf 100644 --- a/src/options/options.html +++ b/src/options/options.html @@ -52,7 +52,7 @@