Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UX: update styling for related/suggested (#23231)
* UX: update styling for related/suggested This PR addresses state issues for icons of the Related & Suggested buttons, as well as well as fixes alignment issues for folding phones / tablets, wider mobile devices by moving styling to the desktop scss file; also replaces border with box-shadow.
- Loading branch information
Showing
4 changed files
with
40 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@import "more-topics"; | ||
@import "user-card"; | ||
@import "user-info"; | ||
@import "user-stream-item"; |
27 changes: 27 additions & 0 deletions
27
app/assets/stylesheets/desktop/components/more-topics.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.more-topics__container { | ||
.nav { | ||
position: absolute; | ||
top: 2px; | ||
li { | ||
margin-right: 0; | ||
.btn { | ||
font-size: var(--font-0); | ||
line-height: var(--line-height-large); | ||
padding: 1em 0.65em; | ||
} | ||
} | ||
} | ||
.more-topics__lists:not(.single-list) { | ||
.topic-list-header .default { | ||
visibility: hidden; | ||
} | ||
} | ||
} | ||
|
||
#main-outlet .regular { | ||
.more-topics__container .nav { | ||
li .btn { | ||
padding: 0.75em 0.65em; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
.more-topics__container { | ||
.nav { | ||
margin-block: 0.5em 1em; | ||
} | ||
|
||
.more-content-topics { | ||
padding: 15px 0 15px 0; | ||
|
||
|