fix(@votingdapp) minor cosmetic fixes

This commit is contained in:
Richard Ramos 2019-01-14 14:25:17 -04:00
parent a6034e359d
commit 4f7fc2c114
2 changed files with 8 additions and 4 deletions

View File

@ -26,7 +26,7 @@ const SortableItem = SortableElement(({value, editOption}) =>
const SortableList = SortableContainer(({items, removeOption, editOption}) => {
return (
<div>
{items.reverse().map((value, index) => (
{items.map((value, index) => (
<SortableItem key={`item-${index}`} index={index} value={value} editOption={editOption(index)} />
))}
</div>
@ -161,7 +161,7 @@ class PollOptions extends Component {
</Button>
</DialogActions>
<DialogTitle id="responsive-dialog-title">{ this.state.edit !== null ? "Edit poll option" : "Add new poll option" }</DialogTitle>
<DialogContent>
<DialogContent className="optionDialog">
<TextField
label="Option title"
autoFocus

View File

@ -731,14 +731,18 @@ button[disabled]{
.pollCreation .inputTxt textarea,
.pollCreation .inputTxt input {
height: 52px;
background: #EEF2F5;
border-radius: 8px;
padding: 14px;
padding-bottom: 0px;
}
.pollCreation .optionDialog .inputTxt input {
padding-bottom: 14px;
}
.pollCreation .inputTxt textarea::placeholder {
text-align: center;
text-align: left;
}
.pollCreation .inputTxt div:after,