2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-03 17:21:20 +08:00

UX: Always apply discoveries padding regardless of viewport (#35154)

This selector is not used in mobile.


https://github.com/user-attachments/assets/cfc67f7c-64a7-4f97-a224-41f7a1cd7db8

Related: https://github.com/discourse/discourse/pull/35005
This commit is contained in:
Natalie Tay 2025-10-03 01:12:38 +08:00 committed by GitHub
parent cba86cc0de
commit bc1abd00eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,10 @@
}
}

.ai-discobot-discoveries {
padding: var(--search-result-element-padding);
}

.ai-search-discoveries {
&__regular-results-title {
margin-top: 0.5em;
@ -146,7 +150,6 @@
grid-column-start: 2;
grid-row: 1 / -1;
box-sizing: border-box;
padding: var(--search-result-element-padding);
margin: 0.75em 0 0 0;
border-left: 1px solid var(--primary-low);