Changeset 47266
- Timestamp:
- 02/11/2020 04:30:13 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/media/views/settings/attachment-display.js
r46800 r47266 84 84 85 85 $input.closest( '.setting' ).removeClass( 'hidden' ); 86 if ( $input.length ) { 87 $input[0].scrollIntoView(); 88 } 86 89 } 87 90 }); -
trunk/src/wp-includes/css/media-views.css
r46866 r47266 308 308 .media-frame-toolbar .media-toolbar { 309 309 top: auto; 310 bottom: -4 5px;310 bottom: -47px; 311 311 height: auto; 312 312 overflow: visible; … … 347 347 bottom: 0; 348 348 width: 267px; 349 padding: 0 16px 24px;349 padding: 0 16px; 350 350 z-index: 75; 351 351 background: #f3f3f3; … … 353 353 overflow: auto; 354 354 -webkit-overflow-scrolling: touch; 355 } 356 357 /* 358 * Implementation of bottom padding in overflow content differs across browsers. 359 * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 360 */ 361 .media-sidebar::after { 362 content: ""; 363 display: flex; 364 clear: both; 365 height: 24px; 355 366 } 356 367 … … 747 758 left: 200px; 748 759 right: 0; 749 bottom: 0;750 height: 60px;751 760 z-index: 100; 752 761 bottom: 60px; … … 1851 1860 1852 1861 .media-modal .imgedit-wrap .imgedit-panel-content { 1853 padding: 16px ;1862 padding: 16px 16px 0 16px; 1854 1863 position: absolute; 1855 1864 top: 0; … … 1860 1869 } 1861 1870 1871 /* 1872 * Implementation of bottom padding in overflow content differs across browsers. 1873 * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 1874 */ 1875 .media-modal .imgedit-wrap .imgedit-submit { 1876 margin-bottom: 16px; 1877 } 1878 1862 1879 .media-modal .imgedit-wrap .imgedit-settings { 1863 1880 background: #f3f3f3; 1864 1881 border-left: 1px solid #ddd; 1865 padding: 20px 16px 16px;1882 padding: 20px 16px 0; 1866 1883 position: absolute; 1867 1884 top: 0; … … 1870 1887 width: 250px; 1871 1888 overflow: auto; 1889 } 1890 1891 /* 1892 * Implementation of bottom padding in overflow content differs across browsers. 1893 * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 1894 */ 1895 .media-modal .imgedit-wrap .imgedit-save-target { 1896 margin: 8px 0 24px; 1872 1897 } 1873 1898 … … 2002 2027 right: 0; 2003 2028 bottom: 0; 2004 padding: 0 16px 32px;2029 padding: 0 16px; 2005 2030 overflow: auto; 2031 } 2032 2033 /* 2034 * Implementation of bottom padding in overflow content differs across browsers. 2035 * We need a different method. See https://github.com/w3c/csswg-drafts/issues/129 2036 */ 2037 .embed-link-settings::after, 2038 .embed-media-settings::after { 2039 content: ""; 2040 display: flex; 2041 clear: both; 2042 height: 24px; 2006 2043 } 2007 2044 … … 2048 2085 overflow: visible; 2049 2086 padding: 0; 2087 } 2088 2089 .image-details .embed-media-settings::after { 2090 content: none; 2050 2091 } 2051 2092 … … 2670 2711 2671 2712 .media-frame-toolbar .media-toolbar { 2672 bottom: - 48px;2713 bottom: -54px; 2673 2714 } 2674 2715 }
Note: See TracChangeset
for help on using the changeset viewer.