Skip to content

Commit

Permalink
Merge pull request #5900 from sg00dwin/search-related-fixes
Browse files Browse the repository at this point in the history
Adjustments for alignment and spacing on the following search elements
  • Loading branch information
openshift-merge-robot committed Jul 10, 2020
2 parents d14d443 + 72418ff commit 3a39109
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 {
padding-left: $grid-gutter-width;
padding-right: $grid-gutter-width;
}
}
.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 3a39109

Please sign in to comment.