mirror of
https://github.com/mastodon/mastodon.git
synced 2026-02-21 12:38:29 +00:00
Fix bad visibility of scroll buttons on follow-suggestions carousel (#37843)
This commit is contained in:
parent
e4bb347f72
commit
46fd341685
|
|
@ -10510,6 +10510,8 @@ noscript {
|
|||
position: relative;
|
||||
|
||||
&__scroll-button {
|
||||
--scroll-button-bg: var(--color-bg-brand-base);
|
||||
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
background: transparent;
|
||||
|
|
@ -10517,7 +10519,6 @@ noscript {
|
|||
cursor: pointer;
|
||||
top: 0;
|
||||
color: var(--color-text-primary);
|
||||
opacity: 0.5;
|
||||
|
||||
&.left {
|
||||
left: 0;
|
||||
|
|
@ -10530,7 +10531,7 @@ noscript {
|
|||
&__icon {
|
||||
border-radius: 50%;
|
||||
color: var(--color-text-on-brand-base);
|
||||
background: var(--color-bg-brand-base);
|
||||
background: var(--scroll-button-bg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
@ -10546,7 +10547,7 @@ noscript {
|
|||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
opacity: 1;
|
||||
--scroll-button-bg: var(--color-bg-brand-base-hover);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user