Skip to content

Commit aa69512

Browse files
linyihaiGuillaumeGomez
authored andcommitted
Add padding to make it looks align.
1 parent a4c9c6b commit aa69512

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

templates/style/_vars.scss

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ $font-family-mono: "Source Code Pro", Menlo, Monaco, Consolas, "DejaVu Sans Mono
77

88
// Sizes
99
$top-navbar-height: 32px; // height of the floating top navbar
10+
$search-result-right-left-padding: 1em; // Size of the right and left padding for the search results
1011

1112
// Pure compatible media queries
1213
// usage:

templates/style/style.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ div.landing {
244244
#search-select-nav {
245245
display: flex;
246246
flex-direction: column;
247+
padding: 1em $search-result-right-left-padding;
247248

248249
.item-end {
249250
align-self: flex-end
@@ -282,7 +283,7 @@ div.recent-releases-container {
282283
.release {
283284
display: block;
284285
border-bottom: 1px solid var(--color-border);
285-
padding: 0.4em 1em;
286+
padding: 0.4em $search-result-right-left-padding;
286287
color: var(--color-standard);
287288

288289
a {

0 commit comments

Comments
 (0)