Make WordPress Core

Ticket #53174: 53174.patch

File 53174.patch, 1.7 KB (added by sabernhardt, 3 years ago)

with CSS flex

  • src/wp-includes/css/editor.css

     
    14621462        top: 37px;
    14631463        left: 0;
    14641464        right: 0;
    1465         bottom: 44px;
     1465        bottom: calc(2.15384615em + 19px);
     1466        display: flex;
     1467        flex-direction: column;
     1468        overflow: auto;
    14661469}
    14671470
    14681471#wp-link ol,
     
    15131516#wp-link .link-search-wrapper {
    15141517        margin: 5px 0 9px;
    15151518        display: block;
    1516         overflow: hidden;
    15171519}
    15181520
    15191521#wp-link .link-search-wrapper .spinner {
     
    15231525
    15241526#wp-link .link-target {
    15251527        padding: 3px 0 0;
    1526         white-space: nowrap;
    1527         overflow: hidden;
    1528         text-overflow: ellipsis;
    15291528}
    15301529
    15311530#wp-link .link-target label {
     
    15371536        margin: 0 0 12px;
    15381537        background: #fff;
    15391538        overflow: auto;
    1540         position: absolute;
    1541         left: 16px;
    1542         right: 16px;
    1543         bottom: 0;
    1544         top: 166px;
     1539        max-height: 190px;
    15451540}
    15461541
    1547 .has-text-field #wp-link .query-results {
    1548         top: 210px;
    1549 }
    1550 
    15511542#wp-link li {
    15521543        clear: both;
    15531544        margin-bottom: 0;
     
    16621653}
    16631654
    16641655@media screen and (max-width: 782px) {
    1665         #wp-link-wrap {
    1666                 margin-top: -140px;
    1667         }
    1668 
    1669         #wp-link-wrap .query-results {
    1670                 top: 195px;
    1671         }
    1672 
    1673         #wp-link-wrap.has-text-field .query-results {
    1674                 top: 235px;
    1675         }
    1676 
    16771656        #link-selector {
    16781657                padding: 0 16px 60px;
    16791658        }
    16801659
    16811660        #wp-link-wrap #link-selector {
    1682                 bottom: 52px;
     1661                bottom: calc(2.71428571em + 23px);
    16831662        }
    16841663
    16851664        #wp-link-cancel {
     
    17171696        #link-selector {
    17181697                overflow: auto;
    17191698        }
    1720 
    1721         #search-panel .query-results {
    1722                 position: static;
    1723         }
    17241699}
    17251700
    17261701@media screen and (max-height: 290px) {
     
    17361711                height: calc(100% - 92px);
    17371712                padding-bottom: 2px;
    17381713        }
    1739 
    1740         #search-panel .query-results {
    1741                 position: static;
    1742         }
    17431714}
    17441715
    17451716div.wp-link-preview {