Fix surve progress bar styling

To prevent it from causing a linebreak
This commit is contained in:
Ramon Wenger 2021-03-18 14:21:57 +01:00
parent ff5b2d28f6
commit bfc2ccdf8e
2 changed files with 4 additions and 6 deletions

View File

@ -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};

View File

@ -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;
}