Skip to content

Commit

Permalink
Merge pull request #1735 from CPAN-API/haarg/changes-padding
Browse files Browse the repository at this point in the history
improve sizing and padding in changes box
  • Loading branch information
mickeyn committed Jun 21, 2016
2 parents 959fdea + 7553376 commit 1129337
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions root/static/less/release.less
Expand Up @@ -33,8 +33,15 @@
h2:extend(.content .file-group h2) {}

ul {
margin-bottom: 1em;
padding-left: 20px;
margin-bottom: 0px;
}

.group-header {
margin-bottom: 1em;
&:last-child {
margin-bottom: 0em;
}
}

ul, ul ul ul {
Expand All @@ -44,28 +51,24 @@
list-style: circle;
}

.change-entries {
margin-bottom: 0.5em;
&:last-child {
margin-bottom: 0em;
}
}

.show-more { display: none }
.hide-more { display: inline }
&.collapsed {
.show-more { display: inline }
.hide-more { display: none }
#last-changes-container {
overflow: hidden;
max-height: 19.5em;
max-height: 20em;
}
}

#last-changes-toggle {
display: none;
}

padding-bottom: .5em;
#last-changes-container {
margin-bottom: 0.5em;
}
padding-bottom: 0.5em;
overflow: auto;
}

0 comments on commit 1129337

Please sign in to comment.