-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
footer bg changed #355
base: main
Are you sure you want to change the base?
footer bg changed #355
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for you contribution! I have a few questions/remarks.
For my personal knowledge, how did you find out about the project and why did you want to contribute (I don’t think it very known yet)?
@@ -66,7 +66,7 @@ | |||
{% endblock page_js %} | |||
{% endblock javascript %} | |||
</head> | |||
<body class="content-body"> | |||
<body class="content-body" data-bs-theme="auto"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why force this? There is a theme selector in the navbar to choose how to display: automatic theme from system, light or dark. So I don’t think this is necessary.
@@ -2,6 +2,8 @@ | |||
--content-footer-height: 104px; | |||
--content-mobile-footer-height: 248px; | |||
--content-header-height: 56px; | |||
--bs-body-bg: #f8f9fa; /* Light mode */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don’t think we should redefine colors. Removing the bg-*
classes on footer
and updating the behavior of .content-footer
should be enough:
.content-footer {
height: var(--content-mobile-footer-height);
background-color: var(--bs-dark);
}
[data-bs-theme="dark"] .content-footer {
background-color: var(--bs-tertiary-bg);
}
This way, we have the same footer as today on light (which I like) and on dark the footer has the same color than the navbar. What do you think?
Note: with your current modification, footer on light theme is broken.
@OMIIIEE any questions on my remarks? |
@OMIIIEE hello, any opinions on the feedback I provided? Without answer from you, I’ll take the liberty to take back this issue 😉 |
now footer is visible clearly in dark mode . changed background color