Skip to content

Commit 3c24481

Browse files
committed
Update UI padding and text in donation panel and header components
1 parent d15b943 commit 3c24481

5 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎packages/ui/src/components/editor/panel/Donations/Donations.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export const Donations: React.FC<DonationsProps> = (props) => {
156156
}
157157
>
158158
Hi there! Your donation supports my mission to make AI coding a
159-
mindful practice, with highly capable tooling freely accessible to
159+
mindful practice, with highly capable tooling freely available to
160160
everyone. Thank you.
161161
</Fieldset>
162162
</div>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
display: flex;
1111
align-items: center;
1212
justify-content: space-between;
13-
margin: 5px 12px 6px 12px;
13+
margin: 6px 12px;
1414
position: relative;
1515
height: 20px;
1616

‎packages/ui/src/components/editor/panel/PromptField/PromptField.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { use_drag_drop } from './hooks/use-drag-drop'
1010
import { use_keyboard_shortcuts } from './hooks/use-keyboard-shortcuts'
1111
import { use_edit_format_compacting } from './hooks/use-edit-format-compacting'
1212
import { DropdownMenu } from '../../common/DropdownMenu'
13-
import { use_is_narrow_viewport, use_is_mac } from '@shared/hooks'
13+
import { use_is_mac } from '@shared/hooks'
1414
import {
1515
get_caret_position_from_div,
1616
set_caret_position_for_div
@@ -64,7 +64,6 @@ export const PromptField: React.FC<PromptFieldProps> = (props) => {
6464
const [is_focused, set_is_focused] = useState(false)
6565
const [hovered_edit_format, set_hovered_edit_format] =
6666
useState<EditFormat | null>(null)
67-
const is_narrow_viewport = use_is_narrow_viewport(330)
6867
const { is_alt_pressed, handle_container_key_down } = use_keyboard_shortcuts({
6968
show_edit_format_selector: props.show_edit_format_selector,
7069
on_edit_format_change: props.on_edit_format_change,

‎packages/vscode/src/views/panel/frontend/Home/Home.module.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
justify-content: space-between;
55
gap: 4px;
66
width: 100%;
7-
padding: 3px 12px 4px 12px;
7+
padding: 4px 12px;
88

99
&__left {
1010
display: flex;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
display: flex;
33
justify-content: space-between;
44
align-items: center;
5-
padding: 3px 12px 4px 12px;
5+
padding: 4px 12px;
66
gap: 14px;
77

88
&__left {

0 commit comments

Comments
 (0)