mirror of
https://github.com/status-im/snt-voting.git
synced 2025-02-22 15:18:06 +00:00
fix(@votingdapp) minor cosmetic fixes
This commit is contained in:
parent
a6034e359d
commit
4f7fc2c114
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user