Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Improve style rules for thread summary #8868

Merged
merged 20 commits into from
Jul 4, 2022
Merged

Improve style rules for thread summary #8868

merged 20 commits into from
Jul 4, 2022

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Jun 19, 2022

This PR moves style rules for the thread summary on timeline and thread panel from _EventTile.scss to _ThreadSummary.scss, merging the rules and adjusting them with variables, etc.

Signed-off-by: Suguru Hirahara [email protected]

type: task


This change is marked as an internal change (Task), so will not be included in the changelog.

@github-actions github-actions bot added Z-Community-PR Issue is solved by a community member's PR T-Task Refactoring, enabling or disabling functionality, other engineering tasks labels Jun 19, 2022
@luixxiul luixxiul changed the title Improve style rules for thread summary button Improve style rules for thread summary Jun 19, 2022
@luixxiul luixxiul marked this pull request as ready for review June 19, 2022 04:27
@luixxiul luixxiul requested a review from a team as a code owner June 19, 2022 04:27
Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
mixin ThreadSummaryIcon has "background-color: $secondary-content !important"

Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
…readSummary

Expected according to tests

Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
Signed-off-by: Suguru Hirahara <[email protected]>
}

.mx_ThreadSummary_avatar {
margin-inline-end: $spacing-8;
}

.mx_ThreadSummary_icon {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ThreadSummary and ThreadSummary_icon is used differently, therefore the latter cannot be wrapped with the former.

@turt2live
Copy link
Member

@luixxiul this appears to have conflicts which github can't autofix :(

@@ -18,7 +18,11 @@ limitations under the License.
$left-gutter: 64px;

.mx_EventTile {
--EventTile-gutter-start: $left-gutter;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was removed in favor of --EventTile_group_line-spacing-inline-start.

@turt2live
Copy link
Member

merging - SonarCloud is wrong about there being a bug in this

@turt2live turt2live enabled auto-merge (squash) July 4, 2022 19:07
@turt2live turt2live disabled auto-merge July 4, 2022 19:07
@turt2live turt2live merged commit 0bf5d54 into matrix-org:develop Jul 4, 2022
@luixxiul luixxiul deleted the ThreadSummary branch July 5, 2022 10:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants