@cupcodev/ui 6.1.1 → 6.1.2

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cupcodev/ui",
3
3
  "private": false,
4
- "version": "6.1.1",
4
+ "version": "6.1.2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
package/styles/dock.css CHANGED
@@ -42,15 +42,16 @@
42
42
  }
43
43
 
44
44
  .dock {
45
- max-width: 100%;
46
- width: 100%;
45
+ width: fit-content;
46
+ max-width: calc(100vw - 1rem);
47
47
  margin: 0 auto;
48
48
  position: fixed;
49
49
  bottom: 0;
50
50
  left: 50%;
51
51
  transform: translateX(-50%);
52
52
  z-index: 1000;
53
- max-width: 580px;
53
+ display: inline-flex;
54
+ flex-direction: column;
54
55
  margin-bottom: 0.5rem;
55
56
  border-radius: 2rem;
56
57
  overflow: visible;
@@ -87,8 +88,11 @@
87
88
  border-radius: 2rem;
88
89
  height: 80px;
89
90
  min-height: 80px;
90
- display: flex;
91
+ display: inline-flex;
91
92
  flex-direction: column;
93
+ width: fit-content;
94
+ max-width: 100%;
95
+ min-width: 0;
92
96
  box-sizing: content-box;
93
97
  overflow: visible;
94
98
  transition: height 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
@@ -109,7 +113,9 @@
109
113
 
110
114
  .tabbar ul {
111
115
  position: relative;
112
- width: 100%;
116
+ width: fit-content;
117
+ max-width: 100%;
118
+ min-width: 0;
113
119
  justify-content: center;
114
120
  height: 80px;
115
121
  z-index: 3;
@@ -117,6 +123,8 @@
117
123
  display: flex;
118
124
  align-items: center;
119
125
  gap: 10px;
126
+ margin: 0 auto;
127
+ flex-wrap: nowrap;
120
128
  overflow: visible;
121
129
  }
122
130
 
@@ -735,8 +743,7 @@ a.link-absolute-menu {
735
743
 
736
744
  @media (max-width: 600px) {
737
745
  .dock {
738
- max-width: 90%;
739
- min-width: 370px;
746
+ max-width: calc(100vw - 1rem);
740
747
  }
741
748
  .submenu-card {
742
749
  height: 90px;
package/styles/global.css CHANGED
@@ -1512,7 +1512,6 @@
1512
1512
  }
1513
1513
  }
1514
1514
 
1515
-
1516
1515
  :root {
1517
1516
  --theme-x: 50%;
1518
1517
  --theme-y: 50%;