#31 : Update progress position

This commit is contained in:
Vadim
2021-07-03 00:13:24 +03:00
parent 5f2a4c2d56
commit 6dee586639
2 changed files with 20 additions and 17 deletions

View File

@@ -12,21 +12,14 @@
$: width = Math.min(value * MAX_PERCENT, MAX_PERCENT)
</script>
<div class="sc-carousel-progress__container">
<div
class="sc-carousel-progress__indicator"
style="
width: {width}%;
"
></div>
</div>
<div
class="sc-carousel-progress__indicator"
style="
width: {width}%;
"
></div>
<style>
.sc-carousel-progress__container {
width: 100%;
height: 20px;
background-color: lightgray;
}
.sc-carousel-progress__indicator {
height: 100%;
background-color: gray;