Skip to content
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

Home Realm Discovery Page Formatting #17

Open
anorstrom opened this issue Jan 29, 2018 · 2 comments
Open

Home Realm Discovery Page Formatting #17

anorstrom opened this issue Jan 29, 2018 · 2 comments

Comments

@anorstrom
Copy link

Hi,
We use the Home Realm Discover y page, and the formatting of that one does not look right.

When we arrive at the HRD page where you type in your login name in a box, there is no space around the box, as shown below. And the box/text/button does not look centered.

hrd-centerui

The "normal" login page (no-HRD) has a nice space over and under the box, like this.

login-centerui

Could this HRD page be adjusted to a nicer look?
Maybe even match the normal login page more?

In my opinion they should both look the same when we are doing the paginated sig-in experiance, with the same text (well, the text I can also change in the onload.js so that is fine).

Kind Regards,
Andreas

@bongiovimatthew-microsoft
Copy link
Contributor

@anorstrom, thanks for reporting this issue! I am going to mark it as "Help Wanted". It looks like the likely problem is the CSS element matching we use. We unfortunately have to use #id matching instead of class matching, and it's possible the element IDs are different for the text box on the HRD page. If that's the case, adding a CSS entry to style the HRD textbox the same as the Username/Password textbox should fix the issue.

@brentcarlson
Copy link

I was able to address the HDR to make it look more like Azure/O365 by making these additions to the JavaScript and to the CSS (not sure if this is the best way or not):

CSS:
Element: span.submit, input[type="submit"]
Add left: 215px;
Add bottom: -25px;
Change FROM width: 100%; TO width: 108px;
Change FROM height: 36px; TO height: 32px;

JavaScript:
document.getElementsByClassName('groupMargin')[2].innerHTML = "Enter your work e-mail address and you will be redirected to your organization's sign-in page.
 " ;

Note the
and the @nbsp;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants