Skip to content

Commit 2bd2425

Browse files
committed
refactor(ProgressGroup): add new scss variables
1 parent edabc03 commit 2bd2425

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

scss/_progress.scss

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,27 +59,22 @@
5959
}
6060
}
6161

62-
//TODO: move all values to variables.scss
6362
.progress-group {
6463
display: flex;
6564
flex-flow: row wrap;
66-
margin-bottom: $spacer;
65+
margin-bottom: $progress-group-margin-bottom;
6766
}
6867

6968
.progress-group-prepend {
7069
flex: 0 0 100px;
7170
align-self: center;
7271
}
7372

74-
.progress-group-icon {
75-
font-size: $font-size-lg;
76-
}
77-
7873
.progress-group-header {
7974
display: flex;
8075
flex-basis: 100%;
8176
align-items: center;
82-
margin-bottom: ($spacer * .25);
77+
margin-bottom: $progress-group-header-margin-bottom;
8378
}
8479

8580
.progress-group-bars {

scss/_variables.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,6 +1462,9 @@ $progress-bar-color: $high-emphasis-inverse !default;
14621462
$progress-bar-bg: $primary !default;
14631463
$progress-bar-animation-timing: 1s linear infinite !default;
14641464
$progress-bar-transition: width .6s ease !default;
1465+
1466+
$progress-group-margin-bottom: $spacer !default;
1467+
$progress-group-header-margin-bottom: $spacer * .25 !default;
14651468
// scss-docs-end progress-variables
14661469

14671470
// List group

0 commit comments

Comments
 (0)