Skip to content

Commit

Permalink
Recent Feed Overhaul - Handful of CSS tweaks (#97264)
Browse files Browse the repository at this point in the history
* Fixed ghost SVG

* Fix alignment on 2 column layout

* Fixed icon alignment on mobile

* Remove max-width
  • Loading branch information
davemart-in authored Dec 10, 2024
1 parent 227c0c1 commit 55ba554
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions client/blocks/reader-full-post/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ $reader-full-post-desktop-min: $reader-full-post-sidebar-width + $reader-full-po
max-width: 1200px;
margin: 0 auto;

.comment-button__icon path,
.conversation-follow-button path {
.comment-button__icon path {
fill: var( --color-neutral-0 );
}
}
Expand Down
3 changes: 1 addition & 2 deletions client/reader/following/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

.is-section-reader .navigation-header.following-stream-header {
margin: 0 auto;
max-width: 600px;
padding: 0;
&.reader-dual-column {
max-width: 968px; // Max width of dual column reader stream.
Expand All @@ -13,7 +12,7 @@
}

@media (max-width: 600px) {
margin: 0 16px;
padding: 0 16px;
.navigation-header__main {
min-height: auto;
}
Expand Down
3 changes: 0 additions & 3 deletions client/reader/sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ body.is-section-reader {
.navigation-header__main {
justify-content: normal;
align-items: center;
.formatted-header {
flex: none;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion client/reader/stream/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
align-items: flex-start;
display: flex;
flex-wrap: nowrap;
gap: 80px;
gap: 40px;
justify-content: flex-start;
}

Expand Down

0 comments on commit 55ba554

Please sign in to comment.