Skip to content

Commit

Permalink
Display widgets more resposively.
Browse files Browse the repository at this point in the history
  • Loading branch information
hrishikeshs committed Jun 8, 2014
1 parent 69dde89 commit fdf08e0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@

<div role="main" class="main-container">
{{outlet}}
</div>
</div>

<div class="footer">
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,8 @@
{{/each}}
</tbody>
</table>
<div>
{{partial 'widgets'}}
</div>
{{partial 'widgets'}}
</div>

{{else}}
<div style="margin-left: inherit;margin-right: inherit;padding-top: 150px;padding-left: 370px;">
{{controller.statusText}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,4 @@
</div>
<div id="dialog-form" style="display:none;">Add a new document to this collection:
<div> {{textarea valueBinding="controller.newDocument" rows="12" cols="60"}}</div>
</div>
<div class="footer">
</div>
</div>
8 changes: 4 additions & 4 deletions Mongoman/app/assets/javascripts/templates/widgets.handlebars
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div>
{{#if selectedItem}}
<ul style="margin-top:80px;">
{{#if selectedItem}}
<div>
<ul>
<li class="widget-list-option" title="copy this database." {{action 'copy'}}>
Copy
</li>
Expand All @@ -11,5 +11,5 @@
Delete
</li>
</ul>
{{/if}}
</div>
{{/if}}
2 changes: 1 addition & 1 deletion Mongoman/app/assets/stylesheets/_pages/common_classes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@

.flex {
display: flex;
flex-direction: row;
align-items: center;
}

1 comment on commit fdf08e0

@hrishikeshs
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*responsively

Please sign in to comment.