Skip to content

Commit

Permalink
Merge pull request #88 from werkbot/hotfix/2.1.14
Browse files Browse the repository at this point in the history
Added desktop directions (right to left, left to right, top to bottom, bottom to top)
  • Loading branch information
aletail authored Mar 26, 2024
2 parents c2b0fc6 + 043b944 commit 08a14d3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "werkbot-framewerk",
"version": "2.1.13",
"version": "2.1.14",
"description": "A framework of css and javascript that Werkbot uses as a foundation to build our websites.",
"main": "js/form.js",
"directories": {
Expand Down
30 changes: 30 additions & 0 deletions sass/base/layout/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@
.desktop-show{
display: inherit;
}
/* Flex Container Direction */
.flex-container{
&.desktop-ltr{
flex-direction: row;
}
&.desktop-rtl{
flex-direction: row-reverse;
}
&.desktop-ttb{
flex-direction: column;
}
&.desktop-btt{
flex-direction: column-reverse;
}
}
/*
DESKTOP BREAKPOINTS
Loop through each desktop defined breakpoint
Expand All @@ -46,6 +61,21 @@
.#{$label}-show{
display: inherit;
}
/* Flex Container Direction */
.flex-container{
&.#{$label}-ltr{
flex-direction: row;
}
&.#{$label}-rtl{
flex-direction: row-reverse;
}
&.#{$label}-ttb{
flex-direction: column;
}
&.#{$label}-btt{
flex-direction: column-reverse;
}
}
}
}
/*
Expand Down

0 comments on commit 08a14d3

Please sign in to comment.