Skip to content

Commit fec448d

Browse files
committed
Improved responsive design for search results.
in mobile views.
1 parent c97341e commit fec448d

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

assets/css/main.scss

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ $sidebar-display: "sidebar-display";
396396
}
397397
}
398398
>div {
399+
max-width: 100%;
399400
&:not(:last-child) {
400401
margin-bottom: 1rem;
401402
}
@@ -1075,10 +1076,6 @@ table {
10751076
}
10761077
}
10771078

1078-
#search-results>div {
1079-
max-width: 100% !important;
1080-
}
1081-
10821079
#search-input {
10831080
margin-left: 0;
10841081
width: 95%;
@@ -1192,6 +1189,10 @@ table {
11921189
width: calc(100% - 210px);
11931190
}
11941191

1192+
#search-results>div {
1193+
max-width: 700px;
1194+
}
1195+
11951196
#site-title {
11961197
font-size: 1.3rem;
11971198
margin-left: 0!important;
@@ -1231,10 +1232,6 @@ table {
12311232
-ms-flex-pack: center!important;
12321233
justify-content: center!important;
12331234
}
1234-
1235-
#search-results>div {
1236-
max-width: 700px;
1237-
}
12381235
}
12391236

12401237

0 commit comments

Comments
 (0)