[fix] make follow icon visible on iPad (#1462)

This PR makes the "follow" button visible on iPad where hover is not
available.

### Change Type

- [x] `patch` — Bug Fix

### Test Plan

1. View the people menu on iPad
2. See that the follow person button is visible
pull/1467/head
Steve Ruiz 2023-05-25 16:06:07 +01:00 zatwierdzone przez GitHub
rodzic b5cb601725
commit 3a1570d790
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -1486,6 +1486,7 @@
border-radius: 100%;
border: 4px solid var(--color-background);
z-index: -1;
pointer-events: none;
}
.tlui-people-menu__button:not([data-state='selected'], :disabled):active::after {
@ -1610,10 +1611,6 @@
min-width: 44px;
}
.tlui-people-menu__item__follow .tlui-icon {
opacity: 0;
}
.tlui-people-menu__item__follow[data-active='true'] .tlui-icon {
opacity: 1;
}
@ -1623,6 +1620,10 @@
}
@media (hover: hover) {
.tlui-people-menu__item__follow .tlui-icon {
opacity: 0;
}
.tlui-people-menu__item__follow:hover .tlui-icon {
opacity: 1;
}