Skip to content

Commit b1431fe

Browse files
updated helpers
1 parent dd7a6c7 commit b1431fe

4 files changed

Lines changed: 22 additions & 2 deletions

File tree

src/Components/Panel/Panel.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,8 @@
6161
@if options('panel', 'features', 'media') {
6262
&>.#{class('panel', 'media')} {
6363
min-width: 0;
64-
max-width: 100%;
6564
flex: auto;
6665
margin-bottom: 32px;
67-
width: 100%;
6866
flex-wrap: wrap;
6967
display: flex;
7068
@include embedded-media();

src/Utilities/helpers.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
///
5050
@include setHelperList($align-items, "align-items", "!important");
5151
@include setHelperList($align-self, "align-self", "!important");
52+
@include setHelperList($justify-self, "justify-self", "!important");
5253
@include setHelperList($justify-content, "justify-content", "!important");
5354

5455
///

src/Utilities/mixins.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@
120120
min-height: 100%;
121121
max-height: 100%;
122122
}
123+
.vh-100 {
124+
height: 100vh;
125+
}
126+
.vw-100 {
127+
width: 100vw;
128+
}
123129
.fade {opacity: 0;}
124130
.hide {display: none !important;}
125131
/* seperator for flex */

src/Utilities/variables.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,21 @@ $align-self: (
129129
("align-self-initial", initial),
130130
("align-self-inherit", inherit)
131131
);
132+
$justify-self: (
133+
// class name, value
134+
("justify-self-auto", auto),
135+
("justify-self-normal", normal),
136+
("justify-self-stretch", stretch),
137+
("justify-self-start", start),
138+
("justify-self-left", left),
139+
("justify-self-center", center),
140+
("justify-self-end", end),
141+
("justify-self-right", right),
142+
("justify-self-first-baseline", first baseline),
143+
("justify-self-last-baseline", last baseline),
144+
("justify-self-initial", initial),
145+
("justify-self-inherit", inherit)
146+
);
132147
$justify-content: (
133148
// class name, value
134149
("justify-content-baseline", baseline),

0 commit comments

Comments
 (0)