[IMP] portal, web: move wrapwrap flex style rules from portal to web
This commit moves the flex rules of #wrapwrap div to web so it can be used in survey. This is needed to make the survey footer stick to the bottom of the screen even if main has not enough content to fill the page. This commit prepares survey redesign. Task ID: '2150291' PR #43237
This commit is contained in:
@@ -24,21 +24,6 @@ $o-portal-bg-color: desaturate($gray-200, 100%);
|
||||
$o-portal-use-default-colors: $body-bg == $o-portal-default-body-bg;
|
||||
|
||||
// Frontend general
|
||||
#wrapwrap {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
|
||||
> * {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
> main {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
.navbar-brand {
|
||||
flex: 0 0 auto;
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
// Frontend general
|
||||
#wrapwrap {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
|
||||
> * {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
> main {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
}
|
||||
@@ -399,6 +399,7 @@
|
||||
</t>
|
||||
|
||||
<t t-call="web._assets_bootstrap"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/base_frontend.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/lazyloader.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/navbar_mobile.scss"/>
|
||||
<link rel="stylesheet" type="text/scss" href="/web/static/src/scss/notification.scss"/>
|
||||
|
||||
Reference in New Issue
Block a user