Change follow suggestions design in web UI (#29272)
This commit is contained in:
parent
245064bb98
commit
63f4ea055a
3 changed files with 34 additions and 7 deletions
|
@ -9416,6 +9416,7 @@ noscript {
|
|||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 16px 0;
|
||||
padding-bottom: 0;
|
||||
border-bottom: 1px solid mix($ui-base-color, $ui-highlight-color, 75%);
|
||||
background: mix($ui-base-color, $ui-highlight-color, 95%);
|
||||
|
||||
|
@ -9454,6 +9455,7 @@ noscript {
|
|||
cursor: pointer;
|
||||
top: 0;
|
||||
color: $primary-text-color;
|
||||
opacity: 0.5;
|
||||
|
||||
&.left {
|
||||
left: 0;
|
||||
|
@ -9481,6 +9483,8 @@ noscript {
|
|||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
opacity: 1;
|
||||
|
||||
.inline-follow-suggestions__body__scroll-button__icon {
|
||||
background: lighten($ui-highlight-color, 4%);
|
||||
}
|
||||
|
@ -9492,11 +9496,10 @@ noscript {
|
|||
flex-wrap: nowrap;
|
||||
gap: 16px;
|
||||
padding: 16px;
|
||||
padding-bottom: 0;
|
||||
scroll-snap-type: x mandatory;
|
||||
scroll-padding: 16px;
|
||||
scroll-behavior: smooth;
|
||||
overflow-x: hidden;
|
||||
overflow-x: scroll;
|
||||
|
||||
&__card {
|
||||
background: darken($ui-base-color, 4%);
|
||||
|
@ -9521,6 +9524,7 @@ noscript {
|
|||
position: absolute;
|
||||
inset-inline-end: 8px;
|
||||
top: 8px;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
&__avatar {
|
||||
|
@ -9558,6 +9562,7 @@ noscript {
|
|||
gap: 4px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
cursor: help;
|
||||
|
||||
> span {
|
||||
overflow: hidden;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue