Skip to content

Commit dd8e9c6

Browse files
committed
Correct the header dropdown information label from "prompt" to "prompt type"
1 parent 65a4856 commit dd8e9c6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎packages/ui/src/components/editor/panel/Dropdown/Dropdown.module.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
&__info {
3535
font-size: var(--font-size-11px);
3636
color: var(--vscode-descriptionForeground);
37+
white-space: nowrap;
3738
}
3839

3940
&__icon {

‎packages/vscode/src/views/panel/frontend/Main/MainView/components/Header/Header.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export const Header: React.FC<Props> = (props) => {
9292
selected_value={props.web_mode}
9393
on_change={props.on_web_mode_change}
9494
max_width={dropdown_max_width}
95-
info="prompt"
95+
info="prompt type"
9696
/>
9797
)}
9898
{props.home_view_type == HOME_VIEW_TYPES.API && (
@@ -103,7 +103,7 @@ export const Header: React.FC<Props> = (props) => {
103103
selected_value={props.api_mode}
104104
on_change={props.on_api_mode_change}
105105
max_width={dropdown_max_width}
106-
info="prompt"
106+
info="prompt type"
107107
/>
108108
)}
109109
</div>

0 commit comments

Comments
 (0)