From 2c752fd89d3427da855704406e34c9458d33e832 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 15 May 2021 16:30:33 -0400 Subject: Popup action search (#1678) * Set up search page in the action popup * Fix a style causing incorrect overflow * Fix error when trying to take a screenshot * Fix popup size on Firefox --- ext/css/search.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'ext/css') diff --git a/ext/css/search.css b/ext/css/search.css index 47a1c4c8..f529fbb6 100644 --- a/ext/css/search.css +++ b/ext/css/search.css @@ -130,7 +130,7 @@ h1 { .search-options { display: flex; flex-flow: row wrap; - margin: 0.5em -1em; + margin: 0.5em calc(-1 * var(--main-content-horizontal-padding)); align-items: center; } .search-option { @@ -167,4 +167,12 @@ h1 { #intro>p { margin: 0; } - +:root[data-search-mode=action-popup] #intro, +:root[data-search-mode=action-popup] #search-option-clipboard-monitor-container { + display: none; +} +:root[data-search-mode=action-popup], +:root[data-search-mode=action-popup] body { + width: 640px; + height: 480px; +} -- cgit v1.2.3