1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00

adjuste packs pricing popover position

This commit is contained in:
Du Peng 2021-08-03 17:03:03 +02:00
parent a7126117be
commit 1fdf3d35b5
2 changed files with 19 additions and 1 deletions

View File

@ -68,7 +68,7 @@ export const ConfigurePacksButton: React.FC<ConfigurePacksButtonProps> = ({ pack
<button className="packs-button" onClick={toggleShowList}>
<i className="fas fa-box" />
</button>
{showList && <FabPopover title={t('app.admin.configure_packs_button.packs')} headerButton={renderAddButton()}>
{showList && <FabPopover title={t('app.admin.configure_packs_button.packs')} headerButton={renderAddButton()} className="fab-popover__right">
<ul>
{packs?.map(p =>
<li key={p.id} className={p.disabled ? 'disabled' : ''}>

View File

@ -33,6 +33,24 @@
border-right: 6px solid transparent;
border-bottom: 6px solid #f0f0f0;
}
&__right {
left: -243px;
&::before {
left: 250px;
}
&::after {
left: 251px;
}
}
&__left {
left: -7px;
&::before {
left: 14px;
}
&::after {
left: 15px;
}
}
.popover-title {
padding: .5rem 1rem;
margin-bottom: 0;