update: header + fix for webkit for mobile

This commit is contained in:
gaelle morin 2020-06-09 11:43:40 +02:00
parent 58e2f3b2ea
commit 57d775fa01
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
2 changed files with 3 additions and 8 deletions

View File

@ -21,14 +21,6 @@ details#user-controls.notLoggedIn
#user-controls__panel #user-controls__panel
nav(role="user's functionalities menu") nav(role="user's functionalities menu")
ul ul
li
sib-display#user-controls__profile(
fields='first_name, account.picture'
class-first_name='flex'
class-account.picture='avatar'
widget-account.picture='hubl-user-avatar'
bind-user
)
if (endpoints.uploads || (endpoints.get && endpoints.get.uploads)) && (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.users || (endpoints.get && endpoints.get.users)) if (endpoints.uploads || (endpoints.get && endpoints.get.uploads)) && (endpoints.skills || (endpoints.get && endpoints.get.skills)) && (endpoints.users || (endpoints.get && endpoints.get.users))
li li
sib-link(next='profile') Mon profil sib-link(next='profile') Mon profil

View File

@ -11,6 +11,9 @@
background-color: var(--color-main-background); background-color: var(--color-main-background);
color: var(--color-main-text); color: var(--color-main-text);
font-size: 1.6rem; font-size: 1.6rem;
/* Fix for viewport height bug in webkit for mobile */
height: -webkit-fill-available;
min-height: -webkit-fill-available;
} }
.notLoggedIn { .notLoggedIn {