Skip to content

Commit 5070acf

Browse files
committed
Adjust announcement positioning/dimensions.
1 parent 06f8497 commit 5070acf

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

webview-ui/src/components/chat/Announcement.tsx

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
4242
)
4343

4444
return (
45-
<div className="flex flex-col justify-center absolute top-0 bottom-0 z-50 p-10 bg-black/50">
45+
<div className="flex flex-col justify-center absolute top-0 bottom-0 left-0 right-0 z-50 p-10 bg-black/50">
4646
<div
4747
style={{
4848
backgroundColor: "var(--vscode-editor-inactiveSelectionBackground)",
@@ -63,36 +63,36 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
6363

6464
<p style={{ margin: "5px 0px" }}>{t("chat:announcement.description")}</p>
6565

66-
<h3 style={{ margin: "12px 0 5px", fontSize: "14px" }}>{t("chat:announcement.whatsNew")}</h3>
67-
<ul style={{ margin: "5px 0" }}>
68-
<li>
69-
{" "}
70-
<Trans
71-
i18nKey="chat:announcement.feature1"
72-
components={{
73-
bold: <b />,
74-
}}
75-
/>
76-
</li>
77-
<li>
78-
{" "}
79-
<Trans
80-
i18nKey="chat:announcement.feature2"
81-
components={{
82-
bold: <b />,
83-
}}
84-
/>
85-
</li>
86-
<li>
87-
{" "}
88-
<Trans
89-
i18nKey="chat:announcement.feature3"
90-
components={{
91-
bold: <b />,
92-
}}
93-
/>
94-
</li>
95-
</ul>
66+
<h3 style={{ margin: "12px 0 5px", fontSize: "14px" }}>{t("chat:announcement.whatsNew")}</h3>
67+
<ul style={{ margin: "5px 0" }}>
68+
<li>
69+
{" "}
70+
<Trans
71+
i18nKey="chat:announcement.feature1"
72+
components={{
73+
bold: <b />,
74+
}}
75+
/>
76+
</li>
77+
<li>
78+
{" "}
79+
<Trans
80+
i18nKey="chat:announcement.feature2"
81+
components={{
82+
bold: <b />,
83+
}}
84+
/>
85+
</li>
86+
<li>
87+
{" "}
88+
<Trans
89+
i18nKey="chat:announcement.feature3"
90+
components={{
91+
bold: <b />,
92+
}}
93+
/>
94+
</li>
95+
</ul>
9696

9797
<p style={{ margin: "10px 0px 0px" }}>
9898
<Trans

0 commit comments

Comments
 (0)