Ticket #48378: 48378.3.diff
| File 48378.3.diff, 3.4 KB (added by , 6 years ago) |
|---|
-
src/js/media/views/settings/attachment-display.js
83 83 } 84 84 85 85 $input.closest( '.setting' ).removeClass( 'hidden' ); 86 if ( $input.length ) { 87 $input[0].scrollIntoView(); 88 } 86 89 } 87 90 }); 88 91 -
src/wp-includes/css/media-views.css
307 307 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; 313 313 border-top: 1px solid #ddd; … … 346 346 right: 0; 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; 352 352 border-left: 1px solid #ddd; … … 354 354 -webkit-overflow-scrolling: touch; 355 355 } 356 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; 366 } 367 357 368 .hide-toolbar .media-sidebar { 358 369 bottom: 0; 359 370 } … … 746 757 position: absolute; 747 758 left: 200px; 748 759 right: 0; 749 bottom: 0;750 height: 60px;751 760 z-index: 100; 752 761 bottom: 60px; 753 762 height: auto; … … 1850 1859 } 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; 1856 1865 right: 282px; … … 1859 1868 overflow: auto; 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; 1868 1885 right: 0; … … 1871 1888 overflow: auto; 1872 1889 } 1873 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; 1897 } 1898 1874 1899 .media-modal .imgedit-group { 1875 1900 background: none; 1876 1901 border: none; … … 2001 2026 left: 0; 2002 2027 right: 0; 2003 2028 bottom: 0; 2004 padding: 0 16px 32px;2029 padding: 0 16px; 2005 2030 overflow: auto; 2006 2031 } 2007 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; 2043 } 2044 2008 2045 .media-embed .embed-link-settings { 2009 2046 /* avoid Firefox to give focus to the embed preview container parent */ 2010 2047 overflow: visible; … … 2049 2086 padding: 0; 2050 2087 } 2051 2088 2089 .image-details .embed-media-settings::after { 2090 content: none; 2091 } 2092 2052 2093 .image-details .embed-media-settings, 2053 2094 .image-details .embed-media-settings div { 2054 2095 box-sizing: border-box; … … 2669 2710 } 2670 2711 2671 2712 .media-frame-toolbar .media-toolbar { 2672 bottom: - 48px;2713 bottom: -54px; 2673 2714 } 2674 2715 } 2675 2716