From 45d41cb4b09b1430d6752a57f5f55bcac267862b Mon Sep 17 00:00:00 2001 From: eight04 Date: Thu, 9 Dec 2021 23:11:42 +0800 Subject: [PATCH] Fix: layout, don't use pointer on text input --- options/options.css | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/options/options.css b/options/options.css index a44a36c2..8ace53b5 100644 --- a/options/options.css +++ b/options/options.css @@ -163,7 +163,7 @@ label > :first-child { } label:not([disabled]), -label:not([disabled]) :not([type="number"]) { +label:not([disabled]) :not([type="number"]):not([type="text"]):not([type="password"]) { cursor: pointer; } @@ -442,7 +442,20 @@ input[type="radio"].radio:checked::after { padding: 0; border: 0; } - +.drive-options > :not([hidden]) { + display: table; + width: 100%; +} +.drive-options > * > label { + display: table-row; +} +.drive-options > * > label > * { + display: table-cell; +} +.drive-options > * input { + width: 100%; + box-sizing: border-box; +} .sync-options .actions button { margin-top: .5em; }