You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: Horizontal alignment issue in https://angular.io/guide/what-is-angular angular #47423
I'm including another screen shot from the same page because it also displays/illustrates the same lack of horizontal alignment.
Describe what you want to experience that would fix the problem
No response
Add a screenshot if that helps illustrate the problem
If this problem caused an exception or error, please paste it here
No response
If the problem is browser-specific, please specify the device, OS, browser, and version
No response
Provide any additional information here in as much as detail as you can
I had done a quick right-click and Inspect; it appears that the issue can easily be resolved if you eliminate the following line from _typography.scss:
vertical-align: top;
What I don't know, though, is if doing that adversely affect anything else.
Having both columns be horizontally aligned along their centers would be the ideal.
Hi @abergquist I've created a PR for this I hope you don't mind 🙂
However I think that the right solution here is to use text-top instead of completely remove the vertical alignment, as your solution would change how the tables look (breaking the design).
What I mean is that this is how the tables look now:
This is how they look if we removed the vertical alignment:
(not that the vertical alignment is anyways lost when we have multiple rows)
And this is how they look with text-top:
I believe that this is the nicest way to fix your issue without breaking/changing the designs 🙂
Activity
dario-piotrowicz commentedon Sep 15, 2022
Hi @abergquist I've created a PR for this I hope you don't mind 🙂
However I think that the right solution here is to use
text-topinstead of completely remove the vertical alignment, as your solution would change how the tables look (breaking the design).What I mean is that this is how the tables look now:

This is how they look if we removed the vertical alignment:

(not that the vertical alignment is anyways lost when we have multiple rows)
And this is how they look with

text-top:I believe that this is the nicest way to fix your issue without breaking/changing the designs 🙂
What do you think? 🙂
dario-piotrowicz commentedon Sep 15, 2022
by the way, also the removal of the vertical alignment can really create a big difference in other tables, for example here:

versus:

abergquist commentedon Sep 15, 2022
Yes, dario-piotrowicz; yours is a wonderful idea. Can we go with that?
fix(docs-infra): apply `text-top` instead of `top` for table alignment
fix(docs-infra): apply `text-top` instead of `top` for table alignment (
angular-automatic-lock-bot commentedon Oct 20, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.