Set body top padding for correct layout when using the fixed top navbar, and remove unnecessary classes and inline css declarations.
Signed-off-by: Belen Barros Pena <[email protected]> --- bitbake/lib/toaster/toastergui/static/css/default.css | 3 +++ bitbake/lib/toaster/toastergui/templates/base.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index 151fd1b..21eb1d4 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css @@ -1,5 +1,8 @@ /* New Toaster custom css file for Bootstrap 3 */ +/* Set required top body padding for the fixed top navbard */ +body { padding-top: 50px; } + /* Style the Yocto Project logo */ img.logo { height: 30px; vertical-align: bottom; } diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index 63a920e..43a3cbd 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html @@ -59,7 +59,7 @@ {% endblock %} </head> - <body style="height: 100%"> + <body> {% csrf_token %} <div id="loading-notification" class="alert lead text-center" style="display:none"> @@ -122,7 +122,7 @@ </div> </nav> - <div class="container-fluid top-padded"> + <div class="container-fluid"> {% block pagecontent %} {% endblock %} </div> -- 1.9.1 -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
