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
|
||||
}
|
||||
},
|
||||
// fixme: make the update work instead of refetching
|
||||
update: (store, {data: {updateAnswer: {answer}}}) => {
|
||||
const query = SURVEY_QUERY;
|
||||
const variables = {id: this.id};
|
||||
|
|
|
|||
|
|
@ -64,10 +64,8 @@
|
|||
background-color: $color-silver-light;
|
||||
height: 0.3em;
|
||||
order: 3;
|
||||
width: 40%;
|
||||
//grid-area: progress;
|
||||
width: 30%;
|
||||
position: relative;
|
||||
margin-right: $progress-margin-right;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
|
||||
|
|
@ -88,8 +86,9 @@
|
|||
|
||||
> span {
|
||||
position: absolute;
|
||||
right: -$progress-margin-right;
|
||||
top: -0.37em;
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
bottom: -2em;
|
||||
@include regular-text;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue