Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sass-direction

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-direction - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

package.json
{
"name": "sass-direction",
"version": "1.0.1",
"version": "1.1.0",
"description": "Sass mixins and functions to help creating bi-directional stylesheets.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -41,2 +41,4 @@ # Direction

line-height: direction-if(rtl, 2);
flex-direction: direction(row);
justify-content: direction(flex-start);

@@ -54,2 +56,8 @@ @include direction-if(ltr) {

}
direction: direction(rtl);
& > span {
direction: direction(ltr);
}
}

@@ -78,7 +86,13 @@ ```

font-size: 1em;
flex-direction: row;
justify-content: flex-start;
direction: rtl;
}
h1::before {
content: "left to right";
}
h1 > span {
direction: ltr;
}
```

@@ -96,7 +110,12 @@

line-height: 2;
flex-direction: row-reverse;
justify-content: flex-end;
direction: ltr;
}
h1::after {
content: "right to left";
}
h1 > span {
direction: rtl;
}
```

@@ -103,0 +122,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc