Skip to content
Snippets Groups Projects
Commit bc0072b8 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

hide too long project name and remove useless file

parent 60d5886c
No related branches found
No related tags found
1 merge request!45hide too long project name and remove useless file
File deleted
...@@ -21,7 +21,10 @@ ...@@ -21,7 +21,10 @@
]" ]"
@click="menuIsOpen = !menuIsOpen" @click="menuIsOpen = !menuIsOpen"
> >
<span v-if="project"> Projet : {{ project.title }} </span> <!-- empty span to occupy space for style if no project -->
<span>
<span v-if="project"> Projet : {{ project.title }} </span>
</span>
<i class="dropdown icon"></i> <i class="dropdown icon"></i>
<div <div
:class="['menu', { 'visible transition': menuIsOpen }]" :class="['menu', { 'visible transition': menuIsOpen }]"
...@@ -240,6 +243,21 @@ footer { ...@@ -240,6 +243,21 @@ footer {
div.menu { div.menu {
width: 100vw; width: 100vw;
} }
.menu.container a.header {
width: 70px;
}
.menu.container a.header > img {
margin: 0;
}
#menu-dropdown {
width: calc(100vw - 70px);
justify-content: space-between;
}
#menu-dropdown > span {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
} }
.ui.menu .ui.dropdown .menu > .item.no-hover:hover { .ui.menu .ui.dropdown .menu > .item.no-hover:hover {
......
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