Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

UI fixes #306

Merged
merged 3 commits into from
Jun 1, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/components/send/send.less
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ send {
}

md-menu.max-funds {
position: absolute;
top: -10px;
right: 0;
&:after {
content: '';
display: inline-block;
Expand All @@ -49,4 +52,9 @@ send {
vertical-align: middle;
}
}
.dialog-send {
.md-toolbar-tools {
padding: 0 24px;
}
}
}
6 changes: 3 additions & 3 deletions src/components/send/send.pug
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ div.dialog-send(aria-label='Send funds')
div(ng-messages='$ctrl.transferForm.recipient.$error')
div(ng-message='required') Required
div(ng-message='pattern') Invalid
div(layout="row")
md-input-container.md-block.flex-95
div(style={'position': 'relative'})
Copy link
Contributor

Choose a reason for hiding this comment

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

Please don't use inline styling.

md-input-container.md-block
label Transaction Amount
input.amount(type='text', name='amount', ng-model='$ctrl.amount.value', required, ng-pattern='$ctrl.amount.regexp', ng-disabled='$ctrl.loading')
div.fee(ng-show='$ctrl.amount.value') Fee: 0.1 LSK
div(ng-messages='$ctrl.transferForm.amount.$error')
div(ng-message='required') Required
div(ng-message='pattern') Invalid
div(ng-message='max') Insufficient funds
md-menu.flex-5.max-funds(md-position-mode='target-right target')
md-menu.max-funds(md-position-mode='target-right target')
md-button.md-icon-button(ng-click='$mdOpenMenu()')
i.material-icons more_vert
md-menu-content(width='4')
Expand Down
3 changes: 3 additions & 0 deletions src/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ md-menu-item md-checkbox {
margin: 0;
padding: 8px;
}
md-menu-content {
border-radius: 2px;
}

md-tabs.main-tabs {
margin: 0 0 -8px 0;
Expand Down