PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.7
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.7
16.3-a.5 16.3-a.7 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 All 506 releases
← All changes | modules/subscriptions/subscribe-modal/subscribe-modal.css +26 -12 12.4.2 → 16.3-a.7 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 {
@@ -18,27 +22,37 @@
18 22
19 23 .jetpack-subscribe-modal__modal-content {
20 24 position: relative;
21 25 visibility: hidden;
26 + overflow: hidden;
22 27 top: 100%;
23 28 background-color: #fefefe;
24 29 margin: 15% auto;
25 - border: 1px solid #ddd;
26 - width: 600px;
30 + width: 100%;
31 + max-width: 600px;
27 32 border-radius: 10px;
28 33 box-sizing: border-box;
29 34 transition: all 0.4s;
35 + text-wrap: balance;
30 36 }
31 37
32 -.jetpack-subscribe-modal__modal-content > .wp-block-group {
33 - max-width: 450px;
34 - margin: 0 auto;
38 +.jetpack-subscribe-modal.open .jetpack-subscribe-modal__modal-content {
39 + top: 0;
40 + visibility: visible;
35 41 }
36 42
37 -.jetpack-subscribe-modal__modal-content > .wp-block-group a {
38 - text-decoration: none;
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;
39 51 }
40 52
41 -.jetpack-subscribe-modal.open .jetpack-subscribe-modal__modal-content {
42 - top: 0;
43 - visibility: visible;
53 +@media screen and (max-width: 640px) {
54 +
55 + .jetpack-subscribe-modal__modal-content {
56 + width: 94%;
57 + }
44 58 }