This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use semantic headings in user settings Labs #10773
Use semantic headings in user settings Labs #10773
Changes from 2 commits
603e2f8
dd55605
e0f0dcf
60ce8cc
b038a1d
77040eb
db57f26
a7c2b4a
fb0d628
071d970
bcad817
667ea5b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
can you help me understand why this is needed?
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.
Otherwise:
The switches align onPreferencesTab
without the declaration, though.So, I am wondering why the declaration is not required for #10794.603e2f8 sets the value for the tabs.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, but this wasn't needed before (was it?): why is it needed now?
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.
Adding
justify-items: stretch
tomx_SettingsSubsection_content
instead might perhaps be more natural for a grid layout.Edit: why would it not possible to add
mx_SettingsSubsection_contentStretch
class instead?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.
@kerryarchibald I still don't understand why this is needed now when it wasn't before. I'm not going to hold this review up any further as we've been pinging it back and forth more than long enough and it's somewhat trivial, but if you do get a chance to record a reason here - or better yet, add a comment to the CSS file - then that would be much appreciated.
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.
It is still used here:
matrix-react-sdk/res/css/views/settings/tabs/user/_PreferencesUserSettingsTab.pcss
Line 23 in dd55605
Context: #8828 (comment)
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.
… And it should be fine to remove it thanks to https://github.com/matrix-org/matrix-react-sdk/pull/10794/files#diff-f6c132a55221b663c488302b59f34c900cc2e1b0d90e1a4af03053b43fe2adc5L23
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.
Ah, missed that when I was splitting this into multiple PRs
This file was deleted.