Skip to content

Commit

Permalink
Adjust SpaceControls whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
alexburner committed Dec 11, 2022
1 parent 9c6276d commit 7bf9372
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/components/SpaceControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const SpaceDisplay = ({ space }: { space: Space }): JSX.Element => {
)
const spaceLabel = useSpaceLabel(space)
return (
<div style={{ display: 'inline-block', padding: '4px 8px' }}>
<div style={{ display: 'inline-block' }}>
<div
style={{
fontSize: '14px',
Expand All @@ -50,7 +50,6 @@ const SpaceDisplay = ({ space }: { space: Space }): JSX.Element => {
{spaceLabel && (
<div
style={{
margin: '2px 0 0',
fontSize: '12px',
color: 'rgba(0, 0, 0, 0.6)',
}}
Expand Down Expand Up @@ -81,7 +80,7 @@ const SpacePopover = ({
<PopoverTrigger setOpen={setOpen}>{children}</PopoverTrigger>
<Popover isOpen={isOpen} setClose={setClose}>
<div className="space-popover-items">
<div className="p-5">
<div className="p-6">
<UseCurrentLocation
onSuccess={(s) => {
setLocalSpace(s)
Expand All @@ -90,7 +89,7 @@ const SpacePopover = ({
}}
/>
</div>
<div className="p-4">
<div className="p-5">
<SearchForLocation
onSelect={(s) => {
setLocalSpace(s)
Expand All @@ -105,7 +104,7 @@ const SpacePopover = ({
setLocalSpace={setLocalSpace}
/>
</div>
<div className="p-4">
<div className="p-5">
<SaveCancel
canSave={hasChanges}
onSave={() => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/SpaceControls/LatLongFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const LatLongFields = ({
setLocalSpace: (s: Space) => void
}): JSX.Element => {
return (
<div className="columns is-variable is-1">
<div className="columns is-mobile is-variable is-1">
<div className="column">
<div className="field has-addons">
<div className="control">
Expand Down

0 comments on commit 7bf9372

Please sign in to comment.