Commit a626ef6
committed
Customize: Fix positioning of device-previewed window when publish settings are open.
* Update date control padding.
* Collapse publish settings section when opening panes for available widgets or nav menus.
* Remove save and cog buttons in mobile preview only mode.
* Move definition of `wp.customize.previewedDevice` to `wp.customize.state('previewedDevice')` for centralization, maintaining old alias.
* Remove unused CSS because the section is inside form now.
Props sayedwp, westonruter.
See #39896.
Fixes #42027, #42199.
git-svn-id: https://develop.svn.wordpress.org/trunk@41860 602fd350-edb4-49c9-b593-d223f7449a821 parent 99cff48 commit a626ef6
4 files changed
Lines changed: 37 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
135 | 144 | | |
136 | 145 | | |
137 | 146 | | |
| |||
379 | 388 | | |
380 | 389 | | |
381 | 390 | | |
382 | | - | |
| 391 | + | |
383 | 392 | | |
384 | 393 | | |
385 | 394 | | |
| |||
506 | 515 | | |
507 | 516 | | |
508 | 517 | | |
509 | | - | |
510 | | - | |
| 518 | + | |
511 | 519 | | |
512 | 520 | | |
513 | 521 | | |
| |||
562 | 570 | | |
563 | 571 | | |
564 | 572 | | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | 573 | | |
569 | 574 | | |
570 | 575 | | |
| |||
1724 | 1729 | | |
1725 | 1730 | | |
1726 | 1731 | | |
1727 | | - | |
1728 | | - | |
| 1732 | + | |
1729 | 1733 | | |
1730 | 1734 | | |
1731 | 1735 | | |
| |||
2791 | 2795 | | |
2792 | 2796 | | |
2793 | 2797 | | |
| 2798 | + | |
| 2799 | + | |
| 2800 | + | |
| 2801 | + | |
| 2802 | + | |
| 2803 | + | |
| 2804 | + | |
| 2805 | + | |
2794 | 2806 | | |
2795 | 2807 | | |
2796 | 2808 | | |
| |||
2837 | 2849 | | |
2838 | 2850 | | |
2839 | 2851 | | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
2840 | 2856 | | |
2841 | 2857 | | |
2842 | 2858 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6788 | 6788 | | |
6789 | 6789 | | |
6790 | 6790 | | |
6791 | | - | |
| 6791 | + | |
| 6792 | + | |
6792 | 6793 | | |
6793 | 6794 | | |
6794 | 6795 | | |
| |||
8317 | 8318 | | |
8318 | 8319 | | |
8319 | 8320 | | |
8320 | | - | |
8321 | | - | |
| 8321 | + | |
| 8322 | + | |
8322 | 8323 | | |
8323 | 8324 | | |
8324 | 8325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
685 | 689 | | |
686 | 690 | | |
687 | 691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
333 | 337 | | |
334 | 338 | | |
335 | 339 | | |
| |||
0 commit comments