@telia-ace/widget-core-flamingo 1.1.21 → 1.1.22-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +21 -10
- package/index.mjs +21 -10
- package/package.json +1 -1
package/index.js
CHANGED
@@ -201,23 +201,34 @@
|
|
201
201
|
display: block;
|
202
202
|
}
|
203
203
|
|
204
|
-
:host(.
|
204
|
+
:host(.inline) {
|
205
|
+
height: 100%;
|
205
206
|
position: fixed;
|
207
|
+
inset: 0 0 0 0;
|
208
|
+
}
|
209
|
+
|
210
|
+
:host(.floating) {
|
206
211
|
z-index: 6;
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
212
|
+
position: fixed;
|
213
|
+
}
|
214
|
+
@media screen and (max-width: 800px) {
|
215
|
+
:host(.floating) {
|
216
|
+
inset: 0 0 95px 0;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
@media screen and (min-width: 801px) {
|
220
|
+
:host(.floating) {
|
221
|
+
inset: auto 20px 95px auto;
|
222
|
+
max-height: calc(100vh - 120px);
|
223
|
+
width: 400px;
|
224
|
+
height: 700px;
|
225
|
+
}
|
211
226
|
}
|
227
|
+
|
212
228
|
:host(.floating) .widget-container {
|
213
229
|
box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
|
214
230
|
border-radius: 0.7rem;
|
215
231
|
}
|
216
|
-
:host(.inline) {
|
217
|
-
height: 100%;
|
218
|
-
position: fixed;
|
219
|
-
inset: 0 0 0 0;
|
220
|
-
}
|
221
232
|
|
222
233
|
* {
|
223
234
|
box-sizing: border-box;
|
package/index.mjs
CHANGED
@@ -1654,23 +1654,34 @@ rt.styles = D`
|
|
1654
1654
|
display: block;
|
1655
1655
|
}
|
1656
1656
|
|
1657
|
-
:host(.
|
1657
|
+
:host(.inline) {
|
1658
|
+
height: 100%;
|
1658
1659
|
position: fixed;
|
1660
|
+
inset: 0 0 0 0;
|
1661
|
+
}
|
1662
|
+
|
1663
|
+
:host(.floating) {
|
1659
1664
|
z-index: 6;
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1665
|
+
position: fixed;
|
1666
|
+
}
|
1667
|
+
@media screen and (max-width: 800px) {
|
1668
|
+
:host(.floating) {
|
1669
|
+
inset: 0 0 95px 0;
|
1670
|
+
}
|
1671
|
+
}
|
1672
|
+
@media screen and (min-width: 801px) {
|
1673
|
+
:host(.floating) {
|
1674
|
+
inset: auto 20px 95px auto;
|
1675
|
+
max-height: calc(100vh - 120px);
|
1676
|
+
width: 400px;
|
1677
|
+
height: 700px;
|
1678
|
+
}
|
1664
1679
|
}
|
1680
|
+
|
1665
1681
|
:host(.floating) .widget-container {
|
1666
1682
|
box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
|
1667
1683
|
border-radius: 0.7rem;
|
1668
1684
|
}
|
1669
|
-
:host(.inline) {
|
1670
|
-
height: 100%;
|
1671
|
-
position: fixed;
|
1672
|
-
inset: 0 0 0 0;
|
1673
|
-
}
|
1674
1685
|
|
1675
1686
|
* {
|
1676
1687
|
box-sizing: border-box;
|