-
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
D8CORE-7654: Fixed the title to left on a full width page. No change to a layout none page. #373
base: 9.x
Are you sure you want to change the base?
Conversation
…to a layout none page.
} | ||
|
||
.main-region { | ||
&.flex-10-of-12 { |
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.
This defeats the purpose of 10 of 12 columns. The better solution is to update the full width layout itself. We might not be able to achieve the same solution you have here, but changing it to a "centered" container with default width would match other pages.
See what you can do on /admin/structure/layouts
page.
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.
Ok. Thank you for the tip. I have it working and undid the change above too. I'll update the Prs.
@pookmish I updated the PR as suggested. Let me know what you think. |
@@ -20,7 +20,6 @@ | |||
{% if settings.columns|render is not empty and settings.columns != "default" %} | |||
{% if region_attributes.main is iterable %} | |||
{% set main_attributes = main_attributes.removeClass('flex-12-of-12').addClass(settings.columns) %} | |||
{% set attributes = attributes.addClass('centered-content') %} |
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 would we remove this?
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.
Because with it is there, the h1
moves back and forth as the browser width changes.
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.
But then the h1 is pushed against the left side of the screen, making it worse than before.
I also feel like this could have a more negative impact than we are aware. This template is used in many places outside the basic page. I would want a full 100% review of every place and every scenario that this touches. It's too risky IMO.
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.
You are correct. I answered too quickly earlier. I'll work on it on Monday. I feel awful this afternoon.
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 fixed it. Will you take a look on Monday?
@pookmish I took all the changes out of this PR so I can just close it, right? |
@jenbreese yes. you can close the PR and delete the branch if you feel appropriate. |
READY FOR REVIEW
Summary
Review By (Date)
Criticality
Urgency
Review Tasks
Setup tasks and/or behavior to test
drush cr ; drush ci
Site Configuration Sync
Front End Validation
Backend / Functional Validation
Code
Code security
General
Affected Projects or Products
Associated Issues and/or People
- D8CORE-7654
Resources