Skip to content

Commit

Permalink
fix: remove button shadow and add accordion spacing from project tran…
Browse files Browse the repository at this point in the history
…sfer screen (#1734)

* fix: add spacing between empty accordion sections

* fix: remove shadow from disabled button
  • Loading branch information
paulschreiber authored Jul 8, 2024
1 parent 2e11a46 commit 30e83c2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ export const SiteTransferProjectScreen = ({projectId}: Props) => {
{projectName} ({projectSites.length})
</Text>
}
boxProps={{
mb: projectSites.length === 0 ? '2px' : undefined,
}}
initiallyOpen={projectSites.length > 0}
disableOpen={projectSites.length === 0}>
{projectSites.length > 0 ? (
Expand Down Expand Up @@ -238,6 +241,9 @@ export const SiteTransferProjectScreen = ({projectId}: Props) => {
label={t('projects.sites.transfer')}
onPress={onOpen}
isDisabled={disabled}
_disabled={{
shadow: 0,
}}
/>
)}
title={t('projects.sites.transfer_site_modal.title')}
Expand Down

0 comments on commit 30e83c2

Please sign in to comment.