Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
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-2024-07
frontend
Merge requests
!19
feat: Updated look of saving goal view
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: Updated look of saving goal view
savings-target-creation
into
main
Overview
0
Commits
1
Pipelines
1
Changes
4
Merged
Victor Ekholt Gunrell Kaste
requested to merge
savings-target-creation
into
main
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
4
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
7b127a18
1 commit,
1 year ago
4 files
+
18
−
11
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/components/SavingGoalComponents/SavingGoal.vue
+
2
−
2
Options
@@ -20,7 +20,7 @@ export default {
if
(
timelineElement
instanceof
HTMLElement
)
{
// Calculate the max-height based on the height of the timeline
const
timelineHeight
=
timelineElement
.
offsetHeight
;
this
.
bluePanelMaxHeight
=
`
${
timelineHeight
*
1.
2
5
}
px`
;
this
.
bluePanelMaxHeight
=
`
${
timelineHeight
*
1.
5
5
}
px`
;
}
else
{
this
.
bluePanelMaxHeight
=
'
700px
'
;
}
@@ -41,7 +41,7 @@ export default {
<div
class=
"col-lg-4 blue-background overflow-auto"
:style=
"
{ 'max-height': bluePanelMaxHeight }">
<h3
style=
"color: white; margin-bottom: 16px"
>
Your saving goals
</h3>
<div>
<button
class=
"btn btn-
light
"
style=
"font-weight: 600; margin-bottom: 20px"
@
click=
"createGoal"
>
Create new saving goal
</button>
<button
class=
"btn btn-
success btn-lg
"
style=
"font-weight: 600; margin-bottom: 20px"
@
click=
"createGoal"
>
Create new saving goal
</button>
</div>
<saving-goal-list
@
goToSavingGoal=
"goToSavingGoal"
></saving-goal-list>
</div>
Loading