Skip to content
Snippets Groups Projects
Commit 1eaa7292 authored by Camille Blanchon's avatar Camille Blanchon
Browse files

Merge branch 'redmine-issues/18130' into 'develop'

REDMINE_ISSUE-18130 | Améliorer l'affichage du logo dans la barre de menu

See merge request !626
parents 927cd4c5 e93dcb4e
No related branches found
No related tags found
1 merge request!626REDMINE_ISSUE-18130 | Améliorer l'affichage du logo dans la barre de menu
...@@ -326,9 +326,12 @@ export default { ...@@ -326,9 +326,12 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.menu.container a.header > img { .menu.container a.header {
max-width: 140px; padding-top: 5px !important;
max-height: 25px; padding-bottom: 5px !important;
&> img {
max-height: 50px;
}
} }
.vertical { .vertical {
...@@ -366,13 +369,13 @@ export default { ...@@ -366,13 +369,13 @@ export default {
} }
} }
@media screen and (max-width: 985px) { @media screen and (max-width: 1110px) {
.abstract{ .abstract{
display: none !important; display: none !important;
} }
} }
@media screen and (min-width: 560px) { @media screen and (min-width: 726px) {
.mobile { .mobile {
display: none !important; display: none !important;
} }
...@@ -387,27 +390,36 @@ export default { ...@@ -387,27 +390,36 @@ export default {
} }
} }
@media screen and (max-width: 590px) { @media screen and (max-width: 725px) {
.desktop { .desktop {
display: none !important; display: none !important;
} }
div.dropdown-list { div.dropdown-list {
width: 100vw; width: 100vw;
left: -70px !important; /* should be the same than belows */
} }
.menu.container a.header { .menu.container a.header {
width: 70px; //width: 70px;
padding: 0 5px !important; width: 100%;
}
#app-header {
/* make the logo disappear on scroll */
position: sticky;
top: -110px;
height: 100px;
.menu.container {
/* make the logo disappear on scroll */
height: 50px;
position: sticky;
top: 0;
}
} }
.menu.container a.header > img { .menu.container a.header > img {
margin: 0; margin: 0;
margin: auto; margin: auto;
max-width: 100%; max-width: 100%;
} }
#menu-dropdown { #menu-dropdown {
width: calc(100vw - 70px); width: 100%;
//justify-content: space-between;
} }
#menu-dropdown > span { #menu-dropdown > span {
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -430,6 +442,8 @@ export default { ...@@ -430,6 +442,8 @@ export default {
z-index: 1001; z-index: 1001;
.menu.container .ui.inverted.icon.menu { /* avoid adding space when messages are displayed */ .menu.container .ui.inverted.icon.menu { /* avoid adding space when messages are displayed */
margin: 0; margin: 0;
display: flex;
flex-wrap: wrap;
} }
} }
.ui.menu .ui.dropdown .menu { .ui.menu .ui.dropdown .menu {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment