We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b64651 commit 6b4319dCopy full SHA for 6b4319d
example/style.css
@@ -1,7 +1,14 @@
1
+html {
2
+ /* force vertical scrollbar no matter the content,
3
+ avoid container center position changes */
4
+ overflow-y: scroll;
5
+}
6
+
7
body {
8
padding: 2em 0;
9
}
10
11
+/* Hits widget */
12
.hit + .hit {
13
margin-top: 1em;
14
padding-top: 1em;
@@ -12,3 +19,19 @@ body {
19
font-style: normal;
20
background-color: lightcyan;
21
22
23
+/* Force widths and heights to avoid vertical size changes.
24
+ So that pagination clicks will not jump */
25
+.hit img {
26
+ max-height: 100px;
27
+ max-width: 100px;
28
29
30
+.hit p {
31
+ max-height: 50px;
32
+ text-overflow: ellipsis;
33
34
35
+.hit {
36
+ height: 125px;
37
0 commit comments