Skip to content

Commit f152a85

Browse files
committed
[spalenque] - change suggestion position and popup size
1 parent f1668d6 commit f152a85

2 files changed

Lines changed: 19 additions & 14 deletions

File tree

css/widget-styles.css

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
display: none;
5151
border: 1px solid #DDDDDD;
5252
padding: 5px;
53-
position: absolute;
54-
top: 50px;
53+
position: relative;
54+
top: 10px;
5555
z-index: 9999;
5656
background: white;
5757
width: 100%;
@@ -180,6 +180,22 @@
180180
font-family: system, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Lucida Grande", sans-serif;
181181
}
182182

183+
@media (max-width: 660px) {
184+
.ossw-search-results .ossw-container {
185+
left: 10%;
186+
}
187+
188+
.ossw-pagination .ossw-page-link:not(.ossw-active):not(.next) {
189+
display: none !important;
190+
}
191+
}
192+
193+
@media only screen and (orientation: portrait) {
194+
.ossw-search-results .ossw-container {
195+
height: 60%;
196+
}
197+
}
198+
183199
.ossw-search-results .ossw-container .ossw-header-wrapper {
184200
margin: 0;
185201
padding: 0;
@@ -375,14 +391,3 @@
375391
height: 6px;
376392
margin: 0 0 0 2px;
377393
}
378-
379-
@media (max-width: 660px) {
380-
.ossw-search-results .ossw-container {
381-
width: 80%;
382-
left: 10%;
383-
}
384-
385-
.ossw-pagination .ossw-page-link:not(.ossw-active):not(.next) {
386-
display: none !important;
387-
}
388-
}

0 commit comments

Comments
 (0)