Ticket #48378: 48378.2.diff
| File 48378.2.diff, 2.5 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
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 } … … 1862 1873 .media-modal .imgedit-wrap .imgedit-settings { 1863 1874 background: #f3f3f3; 1864 1875 border-left: 1px solid #ddd; 1865 padding: 20px 16px 16px;1876 padding: 20px 16px 0; 1866 1877 position: absolute; 1867 1878 top: 0; 1868 1879 right: 0; … … 1871 1882 overflow: auto; 1872 1883 } 1873 1884 1885 /* 1886 * Implementation of bottom padding in overflow content differs across browsers, 1887 * we need a different method. See https://github.com/w3c/csswg-drafts/issues/129 1888 */ 1889 .media-modal .imgedit-wrap .imgedit-settings::after { 1890 content: ""; 1891 display: flex; 1892 clear: both; 1893 height: 16px; 1894 } 1895 1874 1896 .media-modal .imgedit-group { 1875 1897 background: none; 1876 1898 border: none; … … 2001 2023 left: 0; 2002 2024 right: 0; 2003 2025 bottom: 0; 2004 padding: 0 16px 32px;2026 padding: 0 16px; 2005 2027 overflow: auto; 2006 2028 } 2007 2029 2030 /* 2031 * Implementation of bottom padding in overflow content differs across browsers, 2032 * we need a different method. See https://github.com/w3c/csswg-drafts/issues/129 2033 */ 2034 .embed-link-settings::after, 2035 .embed-media-settings::after { 2036 content: ""; 2037 display: flex; 2038 clear: both; 2039 height: 24px; 2040 } 2041 2008 2042 .media-embed .embed-link-settings { 2009 2043 /* avoid Firefox to give focus to the embed preview container parent */ 2010 2044 overflow: visible; … … 2049 2083 padding: 0; 2050 2084 } 2051 2085 2086 .image-details .embed-media-settings::after { 2087 content: none; 2088 } 2089 2052 2090 .image-details .embed-media-settings, 2053 2091 .image-details .embed-media-settings div { 2054 2092 box-sizing: border-box;