Skip to content

Commit

Permalink
Merge pull request #112 from creative-commoners/pulls/2.0/fix-module-…
Browse files Browse the repository at this point in the history
…details

Fix spacing in module details when no description is provided
  • Loading branch information
robbieaverill authored Jun 25, 2018
2 parents b736a8d + 60cf298 commit b6b747d
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 b6b747d

Please sign in to comment.