@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/dist/index.cjs +379 -240
- package/dist/index.d.cts +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.js +371 -250
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/styles/dock.css +14 -7
- package/styles/global.css +0 -1
package/package.json
CHANGED
package/styles/dock.css
CHANGED
|
@@ -42,15 +42,16 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.dock {
|
|
45
|
-
|
|
46
|
-
width:
|
|
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
|
-
|
|
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:
|
|
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:
|
|
739
|
-
min-width: 370px;
|
|
746
|
+
max-width: calc(100vw - 1rem);
|
|
740
747
|
}
|
|
741
748
|
.submenu-card {
|
|
742
749
|
height: 90px;
|