Make WordPress Core

Ticket #46704: 46704.1.diff

File 46704.1.diff, 5.7 KB (added by ianbelanger, 6 years ago)

Updated patch

  • src/wp-content/themes/twentynineteen/sass/site/footer/_site-footer.scss

     
    1515                display: flex;
    1616                flex-wrap: wrap;
    1717                .widget {
     18                        -webkit-hyphens:        auto;
     19                        -moz-hyphens:           auto;
     20                        -ms-hyphens:            auto;
     21                        hyphens:                        auto;
    1822                        width: 100%;
     23                        word-wrap: break-word;
    1924                        @include media(desktop) {
    2025                                margin-right: calc(3 * #{$size__spacing-unit});
    2126                                width: calc(50% - (3 * #{$size__spacing-unit}));
     
    2530
    2631        .site-info {
    2732                color: $color__text-light;
     33                -webkit-hyphens:        auto;
     34                -moz-hyphens:           auto;
     35                -ms-hyphens:            auto;
     36                hyphens:                        auto;
     37                word-wrap: break-word;
    2838
    2939                a {
    3040                        color: inherit;
  • src/wp-content/themes/twentynineteen/sass/site/header/_site-header.scss

     
    3030.site-branding {
    3131
    3232        color: $color__text-light;
     33        -webkit-hyphens:        auto;
     34        -moz-hyphens:           auto;
     35        -ms-hyphens:            auto;
     36        hyphens:                        auto;
    3337        position: relative;
     38        word-wrap: break-word;
    3439
    3540        @include media(tablet) {
    3641                margin: 0 $size__site-margins;
  • src/wp-content/themes/twentynineteen/sass/site/primary/_comments.scss

     
    77}
    88
    99.comments-area {
     10        -webkit-hyphens:        auto;
     11        -moz-hyphens:           auto;
     12        -ms-hyphens:            auto;
     13        hyphens:                        auto;
    1014        margin: calc(2 * #{$size__spacing-unit}) $size__spacing-unit;
     15        word-wrap: break-word;
    1116        @include postContentMaxWidth();
    1217
    1318        @include media(tablet) {
  • src/wp-content/themes/twentynineteen/sass/typography/_headings.scss

     
    145145.error-404 .page-title,
    146146.comments-title,
    147147blockquote {
    148         hyphens: auto;
     148        -webkit-hyphens:        auto;
     149        -moz-hyphens:           auto;
     150        -ms-hyphens:            auto;
     151        hyphens:                        auto;
    149152        word-break: break-word;
     153        word-wrap: break-word;
    150154}
    151155
    152156/* Do not hyphenate entry title on tablet view and bigger. */
  • src/wp-content/themes/twentynineteen/style-rtl.css

     
    23892389blockquote {
    23902390  hyphens: auto;
    23912391  word-break: break-word;
     2392  word-wrap: break-word;
    23922393}
    23932394
    23942395/* Do not hyphenate entry title on tablet view and bigger. */
     
    37283729
    37293730.site-branding {
    37303731  color: #767676;
     3732  -webkit-hyphens: auto;
     3733  -moz-hyphens: auto;
     3734  hyphens: auto;
    37313735  position: relative;
     3736  word-wrap: break-word;
    37323737}
    37333738
    37343739@media only screen and (min-width: 768px) {
     
    45084513}
    45094514
    45104515.comments-area {
     4516  -webkit-hyphens: auto;
     4517  -moz-hyphens: auto;
     4518  hyphens: auto;
    45114519  margin: calc(2 * 1rem) 1rem;
    45124520  /* Add extra margin when the comments section is located immediately after the
    45134521         * post itself (this happens on pages).
    45144522         */
     4523  word-wrap: break-word;
    45154524}
    45164525
    45174526@media only screen and (min-width: 768px) {
     
    50235032}
    50245033
    50255034#colophon .widget-column .widget {
     5035  -webkit-hyphens: auto;
     5036  -moz-hyphens: auto;
     5037  hyphens: auto;
    50265038  width: 100%;
     5039  word-wrap: break-word;
    50275040}
    50285041
    50295042@media only screen and (min-width: 1168px) {
     
    50355048
    50365049#colophon .site-info {
    50375050  color: #767676;
     5051  -webkit-hyphens: auto;
     5052  -moz-hyphens: auto;
     5053  hyphens: auto;
     5054  word-wrap: break-word;
    50385055}
    50395056
    50405057#colophon .site-info a {
  • src/wp-content/themes/twentynineteen/style.css

     
    23872387.error-404 .page-title,
    23882388.comments-title,
    23892389blockquote {
    2390   hyphens: auto;
     2390  -webkit-hyphens:      auto;
     2391  -moz-hyphens:         auto;
     2392  -ms-hyphens:          auto;
     2393  hyphens:                      auto;
    23912394  word-break: break-word;
     2395  word-wrap: break-word;
    23922396}
    23932397
    23942398/* Do not hyphenate entry title on tablet view and bigger. */
     
    37343738
    37353739.site-branding {
    37363740  color: #767676;
     3741  -webkit-hyphens:      auto;
     3742  -moz-hyphens:         auto;
     3743  -ms-hyphens:          auto;
     3744  hyphens:                      auto;
    37373745  position: relative;
     3746  word-wrap: break-word;
    37383747}
    37393748
    37403749@media only screen and (min-width: 768px) {
     
    45144523}
    45154524
    45164525.comments-area {
     4526  -webkit-hyphens: auto;
     4527  -moz-hyphens: auto;
     4528  -ms-hyphens: auto;
     4529  hyphens: auto;
    45174530  margin: calc(2 * 1rem) 1rem;
     4531  word-wrap: break-word;
    45184532  /* Add extra margin when the comments section is located immediately after the
    45194533         * post itself (this happens on pages).
    45204534         */
     
    50295043}
    50305044
    50315045#colophon .widget-column .widget {
     5046  -webkit-hyphens:      auto;
     5047  -moz-hyphens:         auto;
     5048  -ms-hyphens:          auto;
     5049  hyphens:                      auto;
    50325050  width: 100%;
     5051  word-wrap: break-word;
    50335052}
    50345053
    50355054@media only screen and (min-width: 1168px) {
     
    50415060
    50425061#colophon .site-info {
    50435062  color: #767676;
     5063  -webkit-hyphens:      auto;
     5064  -moz-hyphens:         auto;
     5065  -ms-hyphens:          auto;
     5066  hyphens:                      auto;
     5067  word-wrap: break-word;
    50445068}
    50455069
    50465070#colophon .site-info a {