summaryrefslogtreecommitdiff
path: root/ext/css/search.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-15 16:30:33 -0400
committerGitHub <noreply@github.com>2021-05-15 16:30:33 -0400
commit2c752fd89d3427da855704406e34c9458d33e832 (patch)
tree1af110210e39fccc008ef6c31940303a38ddc60a /ext/css/search.css
parentbc6fb4e7d742b40bb18965f5aa3e8a1a867b068e (diff)
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
Diffstat (limited to 'ext/css/search.css')
-rw-r--r--ext/css/search.css12
1 files changed, 10 insertions, 2 deletions
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;
+}