-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(FilterSidePanel/VerticalTabs): Adjust top and bottom spacing of f…
…ilter-side-panel and vertical-t (#877) .filter-panel-pf has top and bottom padding, which causes layout issues when it's the only item being used. Removing the top and bottom padding and adding a bottom margin fixes the bug and provides the proper spacing if another element is used. As a result of these changes, .vertical-tabs-pf needs to have a larger bottom margin set on it.
- Loading branch information
1 parent
11aff34
commit abc8cc1
Showing
5 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
packages/patternfly-3/patternfly-react-extensions/less/filter-side-panel.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.filter-panel-pf { | ||
padding: 20px 15px; | ||
margin: 0 0 30px; | ||
padding: 0 15px; | ||
} | ||
|
||
.filter-panel-pf-category { | ||
|
7 changes: 6 additions & 1 deletion
7
packages/patternfly-3/patternfly-react-extensions/less/vertical-tabs.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...ly-3/patternfly-react-extensions/sass/patternfly-react-extensions/_filter-side-panel.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.filter-panel-pf { | ||
padding: 20px 15px; | ||
margin: 0 0 30px; | ||
padding: 0 15px; | ||
} | ||
|
||
.filter-panel-pf-category { | ||
|
7 changes: 6 additions & 1 deletion
7
...ernfly-3/patternfly-react-extensions/sass/patternfly-react-extensions/_vertical-tabs.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters