Skip to content

Commit ae71d88

Browse files
committed
Remove the HOME text label from the header
- remove header text (cwc) ├── apps │ └── editor │ └── src │ └── views │ └── prompt │ └── frontend │ ├── Home │ │ ├── Home.module.scss │ │ └── Home.tsx │ ├── Main │ │ └── MainView │ │ └── components │ │ └── Header │ │ └── Header.tsx │ └── components │ ├── Layout │ │ └── Footer │ │ └── Footer.tsx │ └── recent-donations │ └── RecentDonationsFooter │ └── RecentDonationsFooter.tsx └── packages ├── shared │ └── src │ └── hooks │ └── use-compacting.ts └── ui └── src └── components └── editor └── prompt ├── BrowserExtensionMessage │ └── BrowserExtensionMessage.tsx └── ResponsePreviewFooter └── ResponsePreviewFooter.tsx
1 parent a8199f0 commit ae71d88

2 files changed

Lines changed: 3 additions & 23 deletions

File tree

‎apps/editor/src/views/prompt/frontend/Home/Home.module.scss‎

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@
3030
}
3131

3232
&__left {
33-
display: flex;
34-
align-items: center;
35-
gap: 7px;
36-
}
37-
38-
&__right {
39-
display: flex;
40-
align-items: center;
41-
gap: 4px;
42-
}
43-
44-
&__home {
4533
display: flex;
4634
align-items: center;
4735
justify-content: center;
@@ -52,15 +40,10 @@
5240
color: var(--vscode-icon-foreground);
5341
}
5442

55-
&__text {
43+
&__right {
5644
display: flex;
5745
align-items: center;
58-
height: 24px;
59-
@include accent-font;
60-
font-size: 18px;
61-
line-height: 1;
62-
padding-top: 1px;
63-
white-space: nowrap;
46+
gap: 4px;
6447
}
6548

6649
&__targets {

‎apps/editor/src/views/prompt/frontend/Home/Home.tsx‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,7 @@ export const Home: React.FC<Props> = (props) => {
141141
ref={container_ref}
142142
>
143143
<div className={styles['header__left']}>
144-
<div className={styles['header__home']}>
145-
<span className="codicon codicon-home" />
146-
</div>
147-
<span className={styles['header__text']}>HOME</span>
144+
<span className="codicon codicon-home" />
148145
</div>
149146
<div className={styles['header__right']}>
150147
<CompactableActionButton

0 commit comments

Comments
 (0)