Skip to content

Commit

Permalink
Adjustments for alignment and spacing on the following search elements
Browse files Browse the repository at this point in the history
accordion toggle left and right padding
empty results help message
spacing between pf-c-toolbar and filters to match events filter
  • Loading branch information
sg00dwin committed Jul 7, 2020
1 parent 909491f commit f780375
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 3 additions & 2 deletions frontend/public/components/_nav-title.scss
Expand Up @@ -19,7 +19,8 @@
}

.co-m-nav-title {
padding: $grid-gutter-width ($grid-gutter-width / 2) 0;
margin-top: $grid-gutter-width;
padding: 0 ($grid-gutter-width / 2) 0;
@media (min-width: $grid-float-breakpoint) {
padding-left: $grid-gutter-width;
padding-right: $grid-gutter-width;
Expand All @@ -40,6 +41,6 @@
}
// Positioned after --detail to take precedence, since they will be a siblings
&--breadcrumbs {
padding-top: 0;
margin-top: 0;
}
}
7 changes: 7 additions & 0 deletions frontend/public/components/_search.scss
@@ -1,5 +1,12 @@
.co-search__accordion {
padding-top: 0 !important;
// Align with search results
@media (min-width: $screen-sm-min) {
.co-search-group__accordion-toggle {
--pf-c-accordion__toggle--PaddingLeft: 30px;
--pf-c-accordion__toggle--PaddingRight: 30px;
}
}
.co-m-pane__filter-bar {
// Reduce the margin between the accordion toggle and the create button
// so that the space is equal above and below the button.
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/components/utils/_status-box.scss
@@ -1,5 +1,5 @@
.cos-status-box {
padding: 20px;
padding: 40px 20px;

&__title {
color: #333;
Expand Down
1 change: 1 addition & 0 deletions frontend/public/style/_overrides.scss
Expand Up @@ -236,6 +236,7 @@ h6 {
--pf-c-toolbar--PaddingTop: 0;
--pf-c-toolbar__content--PaddingLeft: 0;
--pf-c-toolbar__content--PaddingRight: 0;
--pf-c-toolbar--RowGap: var(--pf-global--spacer--md);
}

.pf-c-page__main-section {
Expand Down

0 comments on commit f780375

Please sign in to comment.