Revert "Improve layout of the search page on mobile"

This reverts commit 764b7f12e1.
This commit is contained in:
ormai 2023-09-10 14:57:04 +02:00
parent 764b7f12e1
commit 2181ae51ba
7 changed files with 16 additions and 18 deletions

View file

@ -519,7 +519,8 @@ article[data-vim-selected].category-social {
"pagination sidebar";
}
#results #sidebar *:first-child {
#results #sidebar *:first-child,
#results #urls *:first-child {
margin-top: 0;
}
@ -734,9 +735,9 @@ summary.title {
#links_on_top {
position: absolute;
.ltr-right(1rem);
.ltr-right(1.8rem);
.ltr-text-align-right();
top: 2.7rem;
top: 2.2rem;
padding: 0;
border: 0;
display: flex;
@ -916,7 +917,7 @@ summary.title {
}
#main_results div#results {
margin: 0 auto;
margin: 1rem auto 0 auto;
justify-content: center;
display: grid;
grid-template-columns: @results-width;
@ -1013,11 +1014,12 @@ summary.title {
#main_results div#results {
grid-template-columns: 100%;
margin: 1rem 0 0 0;
}
#links_on_top {
top: 1.4rem;
.ltr-right(10px);
top: 0.8rem;
.ltr-right(0.7rem);
}
#main_index #links_on_top {
@ -1041,9 +1043,7 @@ summary.title {
.result {
background: var(--color-result-background);
border: 1px solid var(--color-result-background);
margin: 1rem 10px;
.rounded-corners;
margin: 1rem 0;
}
.result-images {