UX: Fix alignment on full page search (#15988)

Also removed the max-width, because it unnecessarily wrapped the topic title at an earlier point than the snippet below it.
This commit is contained in:
Jarek Radosz 2022-02-18 02:12:47 +01:00 committed by GitHub
parent aaf432df86
commit e54b70460e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -256,26 +256,30 @@
.topic {
padding-bottom: 0.25em;
max-width: 700px;
display: grid;
grid-template-areas:
"bulk-select title"
"meta meta";
grid-template-columns: auto 1fr;
align-items: baseline;
.bulk-select {
position: absolute;
left: 0.5em;
top: 0.75em;
padding: 0.25em 0.5em;
background-color: var(--tertiary-low);
input[type="checkbox"] {
margin: 0;
}
}
.search-link {
align-items: baseline;
display: flex;
grid-area: title;
}
.search-category {
grid-area: meta;
}
@ -336,6 +340,7 @@
}
.topic-statuses {
display: inline-block;
flex-shrink: 0;
font-size: 1.3em;
line-height: $line-height-medium;
color: var(--primary-medium);