Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(Operate): Adjustment of the height of entries in the **Operate** component.

haitaooc9921b928432
diff --git a/ui/src/components/Operate/index.tsx b/ui/src/components/Operate/index.tsx
index 6bcf2c2f..03e150f6 100644
--- a/ui/src/components/Operate/index.tsx
+++ b/ui/src/components/Operate/index.tsx
@@ -271,7 +271,7 @@ const Index: FC<IProps> = ({
);
})}
{secondAction.length > 0 && (
- <Dropdown className="ms-3">
+ <Dropdown className="ms-3 d-flex">
<Dropdown.Toggle
variant="link"
size="sm"
diff --git a/ui/src/components/Share/index.tsx b/ui/src/components/Share/index.tsx
index 26c51080..dcab12fe 100644
--- a/ui/src/components/Share/index.tsx
+++ b/ui/src/components/Share/index.tsx
@@ -71,7 +71,7 @@ const Index: FC<IProps> = ({ type, qid, aid, title, slugTitle = '' }) => {
<Dropdown.Toggle
id="dropdown-share"
as="a"
- className="no-toggle small link-secondary pointer"
+ className="no-toggle small link-secondary pointer d-flex"
onClick={() => setShow(true)}
style={{ lineHeight: '23px' }}>
{t('share.name')}