Enlarge profile popup (#462)
Co-authored-by: kvakazyambra <kvakazyambra@gmail.com>
This commit is contained in:
parent
138403dfc3
commit
30672fc1af
|
@ -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 })}>
|
||||||
|
|
|
@ -127,6 +127,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.profilePopup {
|
||||||
|
@include media-breakpoint-up(sm) {
|
||||||
|
min-width: 22rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: animation
|
// TODO: animation
|
||||||
// .popup {
|
// .popup {
|
||||||
// opacity: 1;
|
// opacity: 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user