Skip to content

Commit

Permalink
Fix spacing in module details when no description is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
raissanorth committed Jun 25, 2018
1 parent b736a8d commit 60cf298
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/dist/styles/bundle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions client/src/components/ModuleDetails/ModuleDetails.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
// Remove the background from the default popover header
.package-summary__details-header {
padding-bottom: 0;
padding-top: $popover-padding;
padding-top: $spacer;
background: 0;
border: 0;
}

.package-summary__security-alerts {
margin-top: $popover-padding;
margin-bottom: $popover-padding * .5;
margin-top: $spacer;
margin-bottom: $spacer * .5;

h4 {
margin-bottom: $popover-padding * .5;
margin-bottom: $spacer * .5;
}

// Undoing the default styles that come for .popover-body a from admin module
Expand All @@ -35,6 +35,7 @@
}
.package-summary__details-header {
display: flex;
min-width: 12rem;

a {
text-decoration: none;
Expand Down

0 comments on commit 60cf298

Please sign in to comment.