Skip to content

Commit f076de5

Browse files
committed
Fix horizontal alignment of various page elements #813
Also reduce padding between sort and filter in sidebar
1 parent b990996 commit f076de5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/assets/stylesheets/application.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,12 @@ div.wrapper {
107107
}
108108

109109
#content {
110-
padding: 10px;
111110
flex-grow: 1;
112111
overflow: hidden;
113112
}
114113

115114
#sidebar {
116115
width: $sidebar-width;
117-
padding: 10px;
118116
margin-right: $layout-spacing-base * 2;
119117
margin-top: $layout-spacing-base;
120118
flex-shrink: 0;
@@ -194,7 +192,7 @@ div.wrapper {
194192
}
195193

196194
ul.facet-sort-wrap {
197-
margin-bottom: $layout-spacing-base * 2;
195+
margin-bottom: $layout-spacing-base;
198196
}
199197

200198
.facet-sort {

app/assets/stylesheets/themes/default.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $light-05-color: rgba(244, 247, 251, 0.05); // Unused
2424
// TeSS variables
2525
//////////////////////////////
2626
// Misc
27-
$layout-spacing-base: 24px;
27+
$layout-spacing-base: 30px;
2828
$item-padding-base: 24px;
2929
$sidebar-width: 280px;
3030
$transition-time: 300ms;
@@ -115,6 +115,8 @@ $breadcrumb-bg: transparent;
115115
$breadcrumb-separator: "/";
116116
$breadcrumb-color: $dark-color !default;
117117
$breadcrumb-active-color: $dark-color !default;
118+
$breadcrumb-padding-horizontal: 5px;
119+
$breadcrumb-padding-vertical: $layout-spacing-base / 2;
118120

119121
// Pagination
120122
$pagination-color: $primary-color;

0 commit comments

Comments
 (0)