Fix surve progress bar styling
To prevent it from causing a linebreak
This commit is contained in:
parent
ff5b2d28f6
commit
bfc2ccdf8e
|
|
@ -132,7 +132,6 @@
|
||||||
answer
|
answer
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// fixme: make the update work instead of refetching
|
|
||||||
update: (store, {data: {updateAnswer: {answer}}}) => {
|
update: (store, {data: {updateAnswer: {answer}}}) => {
|
||||||
const query = SURVEY_QUERY;
|
const query = SURVEY_QUERY;
|
||||||
const variables = {id: this.id};
|
const variables = {id: this.id};
|
||||||
|
|
|
||||||
|
|
@ -64,10 +64,8 @@
|
||||||
background-color: $color-silver-light;
|
background-color: $color-silver-light;
|
||||||
height: 0.3em;
|
height: 0.3em;
|
||||||
order: 3;
|
order: 3;
|
||||||
width: 40%;
|
width: 30%;
|
||||||
//grid-area: progress;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-right: $progress-margin-right;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
|
|
@ -88,8 +86,9 @@
|
||||||
|
|
||||||
> span {
|
> span {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -$progress-margin-right;
|
width: 100%;
|
||||||
top: -0.37em;
|
text-align: right;
|
||||||
|
bottom: -2em;
|
||||||
@include regular-text;
|
@include regular-text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue