Enlarge profile popup (#462)

Co-authored-by: kvakazyambra <kvakazyambra@gmail.com>
This commit is contained in:
Kosta 2024-05-09 14:26:16 +03:00 committed by GitHub
parent 138403dfc3
commit 30672fc1af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export const ProfilePopup = (props: ProfilePopupProps) => {
const { t } = useLocalize() const { t } = useLocalize()
return ( return (
<Popup {...props} horizontalAnchor="right"> <Popup {...props} horizontalAnchor="right" popupCssClass={styles.profilePopup}>
<ul class="nodash"> <ul class="nodash">
<li> <li>
<a class={styles.action} href={getPagePath(router, 'author', { slug: author().slug })}> <a class={styles.action} href={getPagePath(router, 'author', { slug: author().slug })}>

View File

@ -127,6 +127,12 @@
} }
} }
.profilePopup {
@include media-breakpoint-up(sm) {
min-width: 22rem;
}
}
// TODO: animation // TODO: animation
// .popup { // .popup {
// opacity: 1; // opacity: 1;