Skip to content

Commit

Permalink
[BUGFIX] language menu in main-nav alignment when using dropdownColum…
Browse files Browse the repository at this point in the history
…ns (#516)
  • Loading branch information
pxamike authored and dmh committed Apr 16, 2019
1 parent ac34c19 commit f28b2cd
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 14 deletions.
18 changes: 14 additions & 4 deletions Resources/Public/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 12 additions & 5 deletions Resources/Public/less/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -2435,19 +2435,27 @@
list-style-type: none;
padding: 0;
position: absolute;
width: 100%;
right: 0;
left: auto;
top: 0;
background: @header-top-bg-color;
// background-color: @header-info-background;
left: 0;
right: 0;
z-index: 4000;
text-align: right;
padding-right: 50px;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s 0s, visibility 0s 0.3s;
border-bottom: 1px solid @border-color;

@media (min-width: @screen-md-min) {
left: calc(~"(100% - 970px) / 2");
right: calc(~"(100% - 970px) / 2");
}

@media (min-width: @screen-lg-min) {
left: calc(~"(100% - 1170px) / 2");
right: calc(~"(100% - 1170px) / 2");
}
}

.header-top__language-menu-box-close-btn:after,
Expand Down Expand Up @@ -2690,7 +2698,6 @@
}

.main-navigation .header-top__language-menu-box {
width: 100%;
height: 100%;
background-color: @nav-background-color;
}
Expand Down
17 changes: 12 additions & 5 deletions felayout_t3kit/dev/styles/main/header/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -137,19 +137,27 @@
list-style-type: none;
padding: 0;
position: absolute;
width: 100%;
right: 0;
left: auto;
top: 0;
background: @header-top-bg-color;
// background-color: @header-info-background;
left: 0;
right: 0;
z-index: 4000;
text-align: right;
padding-right: 50px;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s 0s, visibility 0s 0.3s;
border-bottom: 1px solid @border-color;

@media (min-width: @screen-md-min) {
left: calc(~"(100% - 970px) / 2");
right: calc(~"(100% - 970px) / 2");
}

@media (min-width: @screen-lg-min) {
left: calc(~"(100% - 1170px) / 2");
right: calc(~"(100% - 1170px) / 2");
}
}

.header-top__language-menu-box-close-btn:after,
Expand Down Expand Up @@ -392,7 +400,6 @@
}

.main-navigation .header-top__language-menu-box {
width: 100%;
height: 100%;
background-color: @nav-background-color;
}
Expand Down

0 comments on commit f28b2cd

Please sign in to comment.