Skip to content

Commit

Permalink
Merge pull request #286 from divio/bugfix/related-widget-wrapper-list
Browse files Browse the repository at this point in the history
related widget wrapper list
  • Loading branch information
lory87 committed Jan 5, 2016
2 parents 15f1a77 + e066eba commit d12d304
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ CHANGELOG
* Align sortedm2m label if it breaks to new line
* Remove sortedm2m vertical scrollbar and show full list content
* Fix changelist if no admin actions are visible
* Fix related widget wrapper list styles

1.0.7 (2015-12-03)
------------------
Expand Down
27 changes: 27 additions & 0 deletions djangocms_admin_style/sass/components/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,33 @@ form select[multiple] {
// required in admin/aldryn_newsblog/article/add to ensure outline is not cut off #249
overflow: visible;
width: 100%;
// resets list styles that list looks same as sortedm2m #286
ul {
padding: 0 !important;
margin: 0 !important;
border: 0 !important;
li {
border: 0 !important;
padding: 0 !important;
label {
color: $gray-darkest !important;
font-size: 16px;
line-height: 20px;
text-transform: none;
input {
vertical-align: middle !important;
}
}
}
// makes sure that inline list has space between elements and no border #286
&.inline {
@include micro-clearfix;
li {
margin-right: 10px;
border: 0;
}
}
}
}
.related-widget-wrapper-link {
margin-right: 5px;
Expand Down

Large diffs are not rendered by default.

0 comments on commit d12d304

Please sign in to comment.