-
Notifications
You must be signed in to change notification settings - Fork 213
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
(feature) O3-3859 Ability to customize or add logos at the bottom of the LogIn page below the "Powered by" #1127
Conversation
@ibacher @gracepotma @NethmiRodrigo requesting a review here. Not sure why am getting a Network Error. |
It shouldn't be possible to remove the OpenMRS logo from the Powered By slot at all. |
Noted @ibacher , I removed the conditional rendering. Now the OpenMRS Logo always renders whether there are more logos specified or not in the configs @gracepotma . Screencast.from.08-28-2024.10.32.55.PM.webm |
<svg role="img" className={styles.poweredByLogo}> | ||
<use href="#omrs-logo-full-color"></use> | ||
</svg> | ||
{logos.map((logo, index) => ( |
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.
Hello @suubi-joshua Basing on @ibacher suggestion, Does this fixes the issue. i thought this can be generic
padding: 1.5rem; | ||
} | ||
|
||
.logosContainer { |
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.
.logosContainer { | |
.logosContainer::last-of-type { | |
margin-right: 0; | |
} |
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.
Hard to tell without seeing the dev tools how the margins are working. If you want to clean it up after the merge, @vasharma05 , you are very welcome, I'll give a quick review. But this has been open a long time already, time to get it in.
New developments here |
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.
Let's get this in and then we can implement the new designs in another PR. I think the config interface should be able to stay the same anyway. Please also address Vineet's feedback.
Please fix the CSS so that the styling is unchanged when using defaults. That includes the spacing between "Powered by" and the monochrome OpenMRS logo. Try and simplify the CSS. I am very mistrustful of the big mess of CSS you have added; I will be surprised if it is not mostly unnecessary. |
I have addressed your requests @brandones |
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.
LGTM. Thanks @suubi-joshua .
…the LogIn page below the "Powered by" (openmrs#1127)
Requirements
feat
,fix
, orchore
, among others). See existing PR titles for inspiration.For changes to apps
If applicable
Summary
I added a footer config, to allow specification of logos to be included in the footer.
Screenshots
Screencast.from.08-27-2024.09.16.33.PM.webm
Related Issue
https://openmrs.atlassian.net/browse/O3-3859
https://openmrs.atlassian.net/browse/O3-3856
Other