update: height of pages + bug on project edit form

This commit is contained in:
gaelle morin 2020-06-10 15:36:45 +02:00
parent 213c6a78ab
commit a468fe2377
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
7 changed files with 15 additions and 7 deletions

View File

@ -10,7 +10,7 @@
class-description='h1-aside description'
)
button.mobile-sidebar-button.jsMobileSidebarOpenButton.icon-arrow-left-circle MENU
div
div.content-box__height
sib-ac-checker(permission='acl:Read', bind-resources)
#circle-chat(hidden)
include views/circle/page-circle-chat.pug

View File

@ -14,7 +14,7 @@
value-const-title1='N°'
)
button.mobile-sidebar-button.jsMobileSidebarOpenButton.icon-arrow-left-circle MENU
div
div.content-box__height
sib-ac-checker(permission='acl:Read', bind-resources)
#project-chat(hidden)
include views/project/page-project-chat.pug

View File

@ -348,6 +348,14 @@ h5 {
}
}
.content-box__height {
height: calc(100vh - 50px - 56px); /* Heights of main header and sub-header */
@include breakpoint(lg) {
height: calc(100vh - 83px - 84px);
}
}
.content-box__info {
flex-direction: column;
padding: 3.2rem;

View File

@ -10,7 +10,7 @@
include ../circle/page-circle-left.pug
#admin-circle-list(hidden)
#admin-circle-list.content-box__height(hidden)
include ../../templates/hubl-user-avatar.pug
sib-widget(name='hubl-circle-owner')

View File

@ -11,7 +11,7 @@
#project-left(hidden)
include ../project/page-project-left.pug
#admin-project-list(hidden)
#admin-project-list.content-box__height(hidden)
include ../../templates/hubl-user-avatar.pug
div.content-box__info.flex

View File

@ -18,7 +18,7 @@
)
#admin-users-list(hidden)
#admin-users-list.content-box__height(hidden)
div.content-box__info.flex
div.admin-header.flex
h3 Utilisateurs

View File

@ -1,4 +1,4 @@
div.content-box__info.flex
div.content-box__info
include ../../templates/hubl-user-avatar.pug
@ -13,7 +13,7 @@ div.content-box__info.flex
sib-form.form.button-register(
bind-resources
fields='fieldset-info, block-project__info(customer, name, description), fieldset-fee, block-project__fee(businessProvider, businessProviderFee)'
fields='fieldset-info, customer, name, description, fieldset-fee, businessProvider, businessProviderFee'
class-customer='form-label is-light is-half-width'
widget-customer='sib-form-auto-completion'