Compare commits
1 Commits
dependabot
...
inf-392
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9016c5996f |
@@ -75,7 +75,7 @@ function ActionsDropdown({
|
|||||||
placement="bottom-end"
|
placement="bottom-end"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="bg-white p-1 shadow d-flex flex-column"
|
className="bg-white shadow d-flex flex-column"
|
||||||
data-testid="actions-dropdown-modal-popup"
|
data-testid="actions-dropdown-modal-popup"
|
||||||
>
|
>
|
||||||
{actions.map(action => (
|
{actions.map(action => (
|
||||||
@@ -91,9 +91,15 @@ function ActionsDropdown({
|
|||||||
close();
|
close();
|
||||||
handleActions(action.action);
|
handleActions(action.action);
|
||||||
}}
|
}}
|
||||||
className="d-flex justify-content-start py-1.5 mr-4"
|
className="d-flex justify-content-start actions-dropdown-item"
|
||||||
>
|
>
|
||||||
<Icon src={action.icon} className="mr-1" /> {intl.formatMessage(action.label)}
|
<Icon
|
||||||
|
src={action.icon}
|
||||||
|
className="icon-size-24"
|
||||||
|
/>
|
||||||
|
<span className="font-weight-normal font-xl ml-2">
|
||||||
|
{intl.formatMessage(action.label)}
|
||||||
|
</span>
|
||||||
</Dropdown.Item>
|
</Dropdown.Item>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
|
|||||||
@@ -502,3 +502,19 @@ header {
|
|||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-size-24 {
|
||||||
|
width: 1.5rem;
|
||||||
|
height: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.actions-dropdown-item {
|
||||||
|
padding: 12px 16px;
|
||||||
|
height: 48px;
|
||||||
|
width: 304px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.font-xl {
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 28px;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user