Skip to content

Commit

Permalink
Twenty Nineteen: Fixes messy navigation with RTL language.
Browse files Browse the repository at this point in the history
The first tag wasn't switching correctly. This resolves it for an adjacent RTL language link setting list items to inline-block.

Props manooweb, audrasjb, SergeyBiryukov, davidbaumwald, marybaum, sabernhardt.
Fixes #46658.


git-svn-id: https://develop.svn.wordpress.org/trunk@58582 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
karmatosed committed Jun 26, 2024
1 parent 36e6d98 commit 0361f9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
> li {

color: $color__link;
display: inline;
display: inline-block;
position: relative;

> a {
Expand Down
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentynineteen/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -2830,7 +2830,7 @@ body.page .main-navigation {

.main-navigation .main-menu > li {
color: #0073aa;
display: inline;
display: inline-block;
position: relative;
}

Expand Down
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentynineteen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2830,7 +2830,7 @@ body.page .main-navigation {

.main-navigation .main-menu > li {
color: #0073aa;
display: inline;
display: inline-block;
position: relative;
}

Expand Down

0 comments on commit 0361f9a

Please sign in to comment.