PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 All 504 releases
← All changes | modules/subscriptions/subscribe-modal/subscribe-modal.css +24 -2 12.5.2 → 16.3-a.1 View file →
@@ -1,8 +1,12 @@
1 +body.jetpack-subscribe-modal-open {
2 + overflow: hidden;
3 +}
4 +
1 5 .jetpack-subscribe-modal {
2 6 visibility: hidden;
3 7 position: fixed;
4 - z-index: 1;
8 + z-index: 50000; /* Same as WP.com Action bar */
5 9 left: 0;
6 10 top: 0;
7 11 width: 100%;
8 12 height: 100%;
@@ -11,9 +15,9 @@
11 15 transition: all 0.4s;
12 16 }
13 17
14 18 .jetpack-subscribe-modal.open {
15 - background-color: rgba(0,0,0,0.3);
19 + background-color: rgba(0, 0, 0, 0.3);
16 20 visibility: visible;
17 21 }
18 22
19 23 .jetpack-subscribe-modal__modal-content {
@@ -27,10 +31,28 @@
27 31 max-width: 600px;
28 32 border-radius: 10px;
29 33 box-sizing: border-box;
30 34 transition: all 0.4s;
35 + text-wrap: balance;
31 36 }
32 37
33 38 .jetpack-subscribe-modal.open .jetpack-subscribe-modal__modal-content {
34 39 top: 0;
35 40 visibility: visible;
41 +}
42 +
43 +/*
44 + * These text-wrap properties still have limited browser
45 + * support, but based on feedback still adding them for when
46 + * they are supported.
47 + */
48 +.jetpack-subscribe-modal__modal-content p {
49 + text-wrap: balance;
50 + text-wrap: pretty;
51 +}
52 +
53 +@media screen and (max-width: 640px) {
54 +
55 + .jetpack-subscribe-modal__modal-content {
56 + width: 94%;
57 + }
36 58 }