Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
idatt2106_2024_02_frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IDATT2106 - Gruppe 2
idatt2106_2024_02_frontend
Commits
20bcfff6
Commit
20bcfff6
authored
10 months ago
by
Ina Martini
Browse files
Options
Downloads
Patches
Plain Diff
fix: update text on button
parent
71147d4f
No related branches found
Branches containing commit
No related tags found
3 merge requests
!66
Final merge
,
!57
General cleanup of application
,
!4
Pipeline fix
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/CardChallengeSavingsPath.vue
+9
-10
9 additions, 10 deletions
src/components/CardChallengeSavingsPath.vue
with
9 additions
and
10 deletions
src/components/CardChallengeSavingsPath.vue
+
9
−
10
View file @
20bcfff6
...
...
@@ -33,7 +33,7 @@
@
click=
"editChallenge(challenge)"
:data-cy=
"'challenge-icon-' + challenge.id"
:src=
"challengeImageUrl"
class=
"max-w-
12
max-h-12 md:max-h-8 md:max-w-8 lg:max-w-10 lg:max-h-10 cursor-pointer hover:scale-125 rounded-sm"
class=
"max-w-
8
max-h-12 md:max-h-8 md:max-w-8 lg:max-w-10 lg:max-h-10 cursor-pointer hover:scale-125 rounded-sm"
:alt=
"challenge.title"
/>
<!-- Progress Bar, if the challenge is not complete -->
...
...
@@ -55,16 +55,15 @@
<div
class=
"text-center text-nowrap text-xs md:text-base"
>
{{
challenge
.
saved
}}
kr /
{{
challenge
.
target
}}
kr
</div>
<button
@
click=
"incrementSaved(challenge)"
:data-cy=
"'increment-challenge' + challenge.id"
type=
"button"
class=
"primary text-xs ml-2 z-10 relative"
>
+
{{
challenge
.
perPurchase
}}
kr på
{{
challenge
.
title
}}
</button>
</div>
<button
@
click=
"incrementSaved(challenge)"
:data-cy=
"'increment-challenge' + challenge.id"
type=
"button"
class=
"primary text-xl inline-block mb-2 ml-2 h-7 w-8 rounded-full uppercase leading-normal transition duration-150 ease-in-out focus:bg-lime-400 focus:shadow-green-2 focus:outline-none focus:ring-0 active:bg-lime-400 active:shadow-green-200 motion-reduce:transition-none"
>
+
</button>
</div>
</div>
<span
v-else
class=
"text-center text-xs md:text-base"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment