diff --git a/app/assets/stylesheets/blocks/user/_completed-practices-progress.sass b/app/assets/stylesheets/blocks/user/_completed-practices-progress.sass index 8087a39843e..d562f597b71 100644 --- a/app/assets/stylesheets/blocks/user/_completed-practices-progress.sass +++ b/app/assets/stylesheets/blocks/user/_completed-practices-progress.sass @@ -23,6 +23,6 @@ $bar-height: .75rem +position(relative, top $bar-height * -1) box-shadow: rgba(black, .2) 0 .0625rem .0625rem -.completed-practices-progress__percentage-number +.completed-practices-progress__number +text-block(.875rem 1rem, right) +size(2.5rem 1rem) diff --git a/app/javascript/user-practice-progress.vue b/app/javascript/user-practice-progress.vue index b15e1f52602..dd6d18038b4 100644 --- a/app/javascript/user-practice-progress.vue +++ b/app/javascript/user-practice-progress.vue @@ -9,8 +9,8 @@ role='progressbar', :style='`width: ${roundedPercentage}`' ) - .completed-practices-progress__percentage-number - | {{ roundedPercentage }} + .completed-practices-progress__number + | {{ fraction }}