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

feat: shorten message for mobile display

parent 71a1ae7b
No related branches found
No related tags found
1 merge request!858REDMINE_ISSUE-18905 | Gestion du signin/signout erronée
......@@ -41,12 +41,19 @@ export default {
z-index: 99;
opacity: 0.95;
width: calc(100% - 4em); /* 4em is #content left + right paddings */
top: calc(61px + 1em); /* 61px is #app-header height */
top: calc(40px + 1em); /* 40px is #app-header height */
right: 2em; /* 2em is #content left paddings */
}
.message-list{
list-style: none;
padding-left: 0;
margin-top: 0;
list-style: none;
padding-left: 0;
margin-top: 0;
}
@media screen and (max-width: 725px) {
.row.over-content {
top: calc(80px + 1em); /* 90px is #app-header height in mobile display */
width: calc(100% - 2em);
right: 1em;
}
}
</style>
\ No newline at end of file
......@@ -116,7 +116,7 @@ const updateUserStatus = () => {
store.commit('SET_USER', user);
store.commit('DISPLAY_MESSAGE', {
level: 'positive',
comment: `Bienvenue à nouveau ! Vous êtes reconnecté au service d'authentification (SSO).`
comment: `Bienvenue à nouveau ! Vous êtes reconnecté au service d'authentification.`
});
store.dispatch('GET_USER_LEVEL_PERMISSIONS');
store.dispatch('GET_USER_LEVEL_PROJECTS');
......@@ -128,7 +128,7 @@ const updateUserStatus = () => {
store.commit('SET_USER', false);
store.commit('DISPLAY_MESSAGE', {
level: 'negative',
comment: `Oups ! Vous avez été déconnecté du service d'authentification (SSO).
comment: `Vous avez été déconnecté du service d'authentification.
Reconnectez-vous ou continuez en mode anonyme.`
});
store.dispatch('GET_USER_LEVEL_PERMISSIONS');
......
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