From d91a8dd3f3fafe10c3195077d1bc1ddb597f4d88 Mon Sep 17 00:00:00 2001 From: Christina Toegl <toegl@tugraz.at> Date: Thu, 20 Jan 2022 11:44:05 +0100 Subject: [PATCH] Increase mobile button size --- packages/common/src/button.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/common/src/button.js b/packages/common/src/button.js index eb4a7933..55ecfc64 100644 --- a/packages/common/src/button.js +++ b/packages/common/src/button.js @@ -157,6 +157,18 @@ export class LoadingButton extends ScopedElementsMixin(LitElement) { .button { width: 100%; } + + @media only screen + and (orientation: portrait) + and (max-width: 768px) { + .button { + min-height: 40px; + } + + .label { + margin: auto; + } + } `; } -- GitLab