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

@flowingcode/fc-applayout

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flowingcode/fc-applayout - npm Package Compare versions

Comparing version 0.9.8 to 1.0.0

2

package.json
{
"name": "@flowingcode/fc-applayout",
"version": "0.9.8",
"version": "1.0.0",
"description": "Responsive and flexible LitElement based Application Layout",

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

@@ -221,24 +221,57 @@ /**

_updateMargin() {
let marginWidth = this.drawer.clientWidth + "px";
if (this.drawerPersistent) {
let marginWidth = this.drawer.clientWidth + "px";
if (!this.drawer.opened) {
this.content.style.marginLeft = "0px";
//TRUE TRUE
if(this.drawerBelowHeader){
if(this.drawer.opened) {
if (this.drawerAlign == "right") {
this.header.style.marginRight = "0px";
this.content.style.marginRight = marginWidth;
} else {
this.header.style.marginLeft = "0px";
this.content.style.marginLeft = marginWidth;
}
} else {
if (this.drawerAlign == "right") {
this.header.style.marginRight = "0px";
this.content.style.marginRight = "0px";
} else {
this.header.style.marginLeft = "0px";
this.content.style.marginLeft = "0px";
}
}
} else {//TRUE FALSE
if(this.drawer.opened) {
if (this.drawerAlign == "right") {
this.header.style.marginRight = marginWidth;
this.content.style.marginRight = marginWidth;
} else {
this.header.style.marginLeft = marginWidth;
this.content.style.marginLeft = marginWidth;
}
} else {
if (this.drawerAlign == "right") {
this.header.style.marginRight = "0px";
this.content.style.marginRight = "0px";
} else {
this.header.style.marginLeft = "0px";
this.content.style.marginLeft = "0px";
}
}
}
if (!this.drawerBelowHeader) {
if (this.drawerAlign=="right") {
this.header.style.marginRight = marginWidth;
} else {
//FALSE TRUE
//FALSE FALSE
if (this.drawerAlign == "right") {
this.header.style.marginRight = "0px";
this.content.style.marginRight = "0px";
} else {
this.header.style.marginLeft = marginWidth;
this.header.style.marginLeft = "0px";
this.content.style.marginLeft = "0px";
}
}
if (this.drawerAlign=="right") {
this.content.style.marginRight = marginWidth;
} else {
this.content.style.marginLeft = marginWidth;
}
}
}
}
declare global {

@@ -245,0 +278,0 @@ interface HTMLElementTagNameMap {

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