File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ const verifySolution = () => {
130130
131131< template>
132132 < alert type= " error" @close= " showRateLimitError = false" : show= " showRateLimitError" : timeout= " 4000" message= " Too many requests. Please try again in a few minutes." >< / alert>
133- < div class = " flex h-[48px] flex-1 md:flex-none items-center gap-y-2" >
133+ < div class = " flex h-[48px] flex-1 items-center gap-y-2 md:flex-none " >
134134 < button
135135 id= " run"
136136 class = " mr-2 mt-0 hidden h-[48px] w-44 items-center justify-center rounded border-2 border-solid border-[#E91E63] px-4 text-sm text-white hover:bg-[#E91E63] md:flex"
Original file line number Diff line number Diff line change @@ -438,10 +438,10 @@ const deleteFileOrFolder = async (file) => {
438438 </TransitionRoot >
439439 </div >
440440 <!-- start footer -->
441- <div class =" flex flex-wrap lg:flex-nowrap items-center justify-between gap-y-3 border-t border-solid border-gray-600 p-2 md:mb-0" >
442- <editor-breadcrumbs :current-exercise =" currentExercise" class =" order-3 lg:order-1 mr-3 " ></editor-breadcrumbs >
441+ <div class =" flex flex-wrap items-center justify-between gap-y-3 border-t border-solid border-gray-600 p-2 md:mb-0 lg:flex-nowrap " >
442+ <editor-breadcrumbs :current-exercise =" currentExercise" class =" order-3 mr-3 lg:order-1" ></editor-breadcrumbs >
443443 <progress-bar ></progress-bar >
444- <div class =" order-1 flex w-full items-start justify-end gap-x-2 lg:order-3 lg:w-auto md:gap-x-0 " >
444+ <div class =" order-1 flex w-full items-start justify-end gap-x-2 md:gap-x-0 lg:order-3 lg:w-auto" >
445445 <button
446446 ref =" openFileBrowserButton"
447447 class =" mr-0 flex h-[48px] w-auto items-center justify-center rounded border-2 border-solid border-[#E91E63] px-4 text-sm text-white hover:bg-[#E91E63] md:mr-2 md:hidden lg:mb-0"
@@ -450,7 +450,7 @@ const deleteFileOrFolder = async (file) => {
450450 <FolderIcon v-cloak class =" h-5 w-5 xl:ml-2" />
451451 </button >
452452 <button
453- class =" mr-0 flex h-[48px] w-auto items-center justify-center rounded border-2 border-solid border-[#E91E63] px-4 text-sm text-white hover:bg-[#E91E63] md:mr-2 md:w-44 lg:w-auto xl:w-44 lg:mb-0 "
453+ class =" mr-0 flex h-[48px] w-auto items-center justify-center rounded border-2 border-solid border-[#E91E63] px-4 text-sm text-white hover:bg-[#E91E63] md:mr-2 md:w-44 lg:mb-0 lg: w-auto xl:w-44"
454454 @click =" openComposerModal = true"
455455 >
456456 <span class =" hidden md:flex lg:hidden xl:flex" >Composer deps</span >
Original file line number Diff line number Diff line change @@ -7,21 +7,21 @@ import { useWorkshopStore } from "../../stores/workshops";
77const workshopStore = useWorkshopStore ();
88
99const percentComplete = computed (() => {
10- let percent = (studentStore .totalCompleted () / workshopStore .totalExercises ) * 100 ;
10+ let percent = (studentStore .totalCompleted () / workshopStore .totalExercises ) * 100 ;
1111
12- // looks weird when the progressbar is smaller
13- if (percent < 7 ) {
14- percent = 7 ;
15- }
12+ // looks weird when the progressbar is smaller
13+ if (percent < 7 ) {
14+ percent = 7 ;
15+ }
1616
17- return percent;
17+ return percent;
1818});
1919 </script >
2020
2121<template >
22- <div class =" order-2 md:order-3 flex w-full md:flex-1 items-center lg:w-1/6 lg:flex-none" >
23- <div class =" relative mt-0 flex h-2 flex-1 items-center justify-center rounded-full bg-gray-200 bg-gray-700 md:h-5 z-10 " >
24- <div class =" absolute left-0 h-2 rounded-full bg-pink-500 md:h-5 z-0 " :style =" { width: percentComplete + '%' }" ></div >
22+ <div class =" order-2 flex w-full items-center md:order-3 md:flex-1 lg:w-1/6 lg:flex-none" >
23+ <div class =" relative z-10 mt-0 flex h-2 flex-1 items-center justify-center rounded-full bg-gray-200 bg-gray-700 md:h-5" >
24+ <div class =" absolute left-0 z-0 h-2 rounded-full bg-pink-500 md:h-5" :style =" { width: percentComplete + '%' }" ></div >
2525 <p class =" absolute mx-auto ml-2 hidden items-center font-mono text-xs font-bold text-white md:inline-flex" >{{ studentStore.totalCompleted() }}/{{ workshopStore.totalExercises }} Completed</p >
2626 </div >
2727 <p class =" mx-auto ml-2 mr-2 items-center font-mono text-xs text-white md:hidden" >{{ studentStore.totalCompleted() }}/{{ workshopStore.totalExercises }} Completed</p >
You can’t perform that action at this time.
0 commit comments