fix popup header
This commit is contained in:
@@ -96,8 +96,12 @@ export default function Popup({ setShowPopup, translator: tran }) {
|
|||||||
if (!rule) {
|
if (!rule) {
|
||||||
return (
|
return (
|
||||||
<Box minWidth={300}>
|
<Box minWidth={300}>
|
||||||
<Header />
|
{isExt && (
|
||||||
<Divider />
|
<>
|
||||||
|
<Header />
|
||||||
|
<Divider />
|
||||||
|
</>
|
||||||
|
)}
|
||||||
<Stack sx={{ p: 2 }} spacing={3}>
|
<Stack sx={{ p: 2 }} spacing={3}>
|
||||||
<Button variant="text" onClick={handleOpenSetting}>
|
<Button variant="text" onClick={handleOpenSetting}>
|
||||||
{i18n("setting")}
|
{i18n("setting")}
|
||||||
@@ -111,8 +115,12 @@ export default function Popup({ setShowPopup, translator: tran }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box minWidth={300}>
|
<Box minWidth={300}>
|
||||||
<Header />
|
{isExt && (
|
||||||
<Divider />
|
<>
|
||||||
|
<Header />
|
||||||
|
<Divider />
|
||||||
|
</>
|
||||||
|
)}
|
||||||
<Stack sx={{ p: 2 }} spacing={2}>
|
<Stack sx={{ p: 2 }} spacing={2}>
|
||||||
<Stack
|
<Stack
|
||||||
direction="row"
|
direction="row"
|
||||||
|
|||||||
Reference in New Issue
Block a user