@enki-tek/fms-web-components 0.1.56 → 0.1.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -111,7 +111,7 @@ ul, .icon-sidebar-content ul li, .icon-sidebar-content .toggle-button {
111
111
  overflow: auto;
112
112
  }
113
113
  #icon {
114
- margin-left: 270px;
114
+ margin-left: 272px;
115
115
  z-index: 1000;
116
116
  position: fixed;
117
117
  top: 90px;
@@ -124,7 +124,7 @@ ul, .icon-sidebar-content ul li, .icon-sidebar-content .toggle-button {
124
124
  overflow: auto;
125
125
  }
126
126
  #icon {
127
- margin-left: 270px;
127
+ margin-left: 272px;
128
128
  z-index: 1000;
129
129
  position: fixed;
130
130
  top: 90px;
@@ -20,13 +20,13 @@
20
20
  iconName = 'bi-chevron-double-right';
21
21
  } else if (sidebar && icon && margin) {
22
22
  sidebar.style.display = 'block';
23
- icon.style.marginLeft = '270px';
23
+ icon.style.marginLeft = '272px';
24
24
  margin.style.width = '315px';
25
25
  iconName = 'bi-chevron-double-left';
26
26
  }
27
27
  }
28
28
  function checkScreenSize() {
29
- if (window.innerWidth < 768) {
29
+ if (window.innerWidth < 768 ) {
30
30
  hideSidebar = true;
31
31
  } else {
32
32
  hideSidebar = false;
@@ -34,6 +34,7 @@
34
34
  }
35
35
  onMount(() => {
36
36
  if (typeof window !== 'undefined') {
37
+ checkScreenSize();
37
38
  window.addEventListener('resize', checkScreenSize);
38
39
  }
39
40
  });
@@ -182,7 +183,7 @@ ul, .icon-sidebar-content ul li, .icon-sidebar-content .toggle-button {
182
183
  overflow: auto;
183
184
  }
184
185
  #icon {
185
- margin-left: 270px;
186
+ margin-left: 272px;
186
187
  z-index: 1000;
187
188
  position: fixed;
188
189
  top: 90px;
@@ -155,7 +155,7 @@ ul {
155
155
  overflow: auto;
156
156
  }
157
157
  #icon {
158
- margin-left: 270px;
158
+ margin-left: 272px;
159
159
  z-index: 1000 ;
160
160
  position: fixed ;
161
161
  top: 90px ;
@@ -187,7 +187,7 @@ ul, .icon-sidebar-content ul li, .icon-sidebar-content .toggle-button {
187
187
  overflow: auto;
188
188
  }
189
189
  #icon {
190
- margin-left: 270px;
190
+ margin-left: 272px;
191
191
  z-index: 1000;
192
192
  position: fixed;
193
193
  top: 90px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enki-tek/fms-web-components",
3
- "version": "0.1.56",
3
+ "version": "0.1.57",
4
4
  "devDependencies": {
5
5
  "@storybook/addon-essentials": "^7.6.14",
6
6
  "@storybook/addon-interactions": "^7.6.14",