Skip to content

Commit

Permalink
design tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nkylstad committed Nov 29, 2024
1 parent 7e5f1ce commit c2ad51b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.componentButtonInline {
height: 80px;
width: 140px;
margin: 8px;
height: 60px;
width: 120px;
margin: 4px;
padding: 6px;
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.componentButton {
margin: 4px;
width: 140px;
height: 100px;
width: 120px;
height: 80px;
padding: 2px;
overflow: wrap;
}

.componentButtonInline {
height: 80px;
width: 140px;
margin: 8px;
height: 60px;
width: 120px;
margin: 4px;
padding: 2px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function ComponentButton({
<StudioButton
variant={selected ? 'primary' : 'secondary'}
onClick={onClick}
size='sm'
size='xs'
aria-label={tooltipContent}
className={inline ? classes.componentButtonInline : classes.componentButton}
title={tooltipContent}
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/ux-editor/src/data/formItemConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,14 +578,14 @@ export const defaultComponents: ComponentType[] = [

export const allComponents: KeyValuePairs<ComponentType[]> = {
form: [ComponentType.Input, ComponentType.TextArea, ComponentType.Datepicker],
text: [ComponentType.Header, ComponentType.Paragraph, ComponentType.Panel, ComponentType.Alert],
select: [
ComponentType.Checkboxes,
ComponentType.RadioButtons,
ComponentType.Dropdown,
ComponentType.MultipleSelect,
ComponentType.Likert,
],
text: [ComponentType.Header, ComponentType.Paragraph, ComponentType.Panel, ComponentType.Alert],
info: [
ComponentType.InstanceInformation,
ComponentType.Image,
Expand Down

0 comments on commit c2ad51b

Please sign in to comment.