Skip to content

Commit

Permalink
Fix to allow buttons to align inline (fixes #8099)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkepaul authored and chillu committed Dec 13, 2012
1 parent bdc3e91 commit 0ba51c1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 21 deletions.
1 change: 0 additions & 1 deletion admin/css/screen.css

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

1 change: 0 additions & 1 deletion admin/scss/_style.scss
Expand Up @@ -1575,7 +1575,6 @@ form.small {
display:none; //hides find button - redundant functionality display:none; //hides find button - redundant functionality
} }
p button#action_export { p button#action_export {
margin-top:$grid-y*2;
span.btn-icon-download-csv { span.btn-icon-download-csv {
height:17px; //exact height of icon height:17px; //exact height of icon
} }
Expand Down
13 changes: 5 additions & 8 deletions css/GridField.css

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

22 changes: 11 additions & 11 deletions scss/GridField.scss
Expand Up @@ -41,8 +41,10 @@ $gf_grid_x: 16px;
& > div { & > div {
margin-bottom: $gf_grid_y*3; margin-bottom: $gf_grid_y*3;
&.addNewGridFieldButton{ &.addNewGridFieldButton{
margin-bottom:$gf_grid_y; margin-bottom: 0;
@include clearfix; .action {
margin-bottom: $gf_grid_y;
}
} }
} }


Expand All @@ -61,7 +63,6 @@ $gf_grid_x: 16px;
} }


p button#action_export { p button#action_export {
margin-top:$gf_grid_y;
span.btn-icon-download-csv { span.btn-icon-download-csv {
height:17px; //exact height of icon height:17px; //exact height of icon
} }
Expand All @@ -77,8 +78,7 @@ $gf_grid_x: 16px;
font-size: $gf_grid_y*1.2; font-size: $gf_grid_y*1.2;
} }


.pagination-records-number .pagination-records-number {
{
font-size: 1.0em; font-size: 1.0em;
padding: 6px 3px 6px 0; padding: 6px 3px 6px 0;
color: $color-text-light; color: $color-text-light;
Expand Down Expand Up @@ -106,15 +106,15 @@ $gf_grid_x: 16px;
margin-bottom: 6px; margin-bottom: 6px;
} }
.add-existing-autocompleter { .add-existing-autocompleter {
span {
display: inline-block;
}
input.relation-search { input.relation-search {
width: 380px; width: 270px;
} }
width: 500px;
}
.grid-print-button{
display: inline-block;
} }
.grid-csv-button{ .grid-csv-button, .grid-print-button {
margin-bottom: $gf_grid_y;
display: inline-block; display: inline-block;
} }
} }
Expand Down

0 comments on commit 0ba51c1

Please sign in to comment.