-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Adjust the layout of the toolbar on the Issues/Projects page (#33667) #34047
Adjust the layout of the toolbar on the Issues/Projects page (#33667) #34047
Conversation
<div class="flex-text-block tw-flex-wrap tw-mb-4"> | ||
<h2 class="tw-mb-0">{{.Project.Title}}</h2> | ||
<div class="tw-flex-1"></div> | ||
<div class="ui secondary menu tw-m-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.
This block looks incorrectly intended, it should be on the same level as the empty div above.
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.
Actually it is correct, the old code doesn't intend correctly.
To avoid unnecessary changes, I kept it as-is.
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.
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.
No, i mean this:
<div class="tw-flex-1"></div>
<div class="ui secondary menu tw-m-0">
Line 2 should dedent, old code did not have the closing </div>
tag that you introduced.
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 line <div class="tw-flex-1"></div>
is newly added, it doesn't affect other tags . The newly added line has correct indent
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.
As I explained above: the only deleted line is <div class="project-toolbar-right">
and its close tag.
You could checkout and check the layout locally.
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 care enough about intendation on a soon to be obsolete branch and main branch looks correct.
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.
Yes, main branch is correct because I did extra formatting.
This PR is only a backport and has to be done manually, I just don't want to introduce too many other changes
And fix layout for mobile
Backport #33667
Fix #33880