@starasia/dropdown 3.4.0 → 3.4.1

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.
@@ -202,7 +202,7 @@ const sn = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@3
202
202
  background-color: var(--sa-dropdown-bg);
203
203
  border-radius: var(--sa-dropdown-radius);
204
204
  box-shadow: var(--sa-dropdown-shadow-panel);
205
- max-height: 400px;
205
+ max-height: min(540px, calc(100vh - 80px));
206
206
  overflow: hidden;
207
207
  z-index: 999;
208
208
  width: 100%;
@@ -200,7 +200,7 @@
200
200
  background-color: var(--sa-dropdown-bg);
201
201
  border-radius: var(--sa-dropdown-radius);
202
202
  box-shadow: var(--sa-dropdown-shadow-panel);
203
- max-height: 400px;
203
+ max-height: min(540px, calc(100vh - 80px));
204
204
  overflow: hidden;
205
205
  z-index: 999;
206
206
  width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starasia/dropdown",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "dropdown component for starasia UI",
5
5
  "author": "Prawito Hudoro",
6
6
  "main": "dist/dropdown.umd.js",