Skip to content

Commit

Permalink
fix(APP-2655): Version info in settings for the App is poorly display…
Browse files Browse the repository at this point in the history
…ed (#1385)
  • Loading branch information
Barukimang authored Jul 11, 2024
1 parent 043c237 commit c78de83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/containers/settings/majorityVoting/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const MajorityVotingSettings: React.FC<IPluginSettings> = ({daoDetails}) => {
<Definition>
<div className="flex flex-1 flex-wrap items-start justify-between gap-y-2">
<Link
label={`${daoToken.name} ${daoToken.symbol}`}
label={`${daoToken.name} (${daoToken.symbol})`}
iconRight={IconType.LINK_EXTERNAL}
href={daoTokenBlockUrl}
description={shortenAddress(daoToken.address)}
Expand Down
6 changes: 3 additions & 3 deletions src/containers/settings/versionInfoCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const VersionInfoCard: React.FC<{
<SettingsCard title={t('setting.versionInfo.title')}>
<DescriptionPair>
<Term>{t('setting.versionInfo.labelApp')}</Term>
<FlexibleDefinition className="truncate">
<FlexibleDefinition className="truncate xl:max-w-60">
<Link
label={`Aragon App v${AppVersion}`}
type="primary"
Expand All @@ -82,7 +82,7 @@ export const VersionInfoCard: React.FC<{
</DescriptionPair>
<DescriptionPair>
<Term>{t('setting.versionInfo.labelOs')}</Term>
<FlexibleDefinition className="truncate">
<FlexibleDefinition className="truncate xl:max-w-60">
<Link
label={
!isLoading ? `Aragon OSx v${versions?.join('.')}` : 'Loading...'
Expand All @@ -97,7 +97,7 @@ export const VersionInfoCard: React.FC<{

<DescriptionPair className="border-none">
<Term>{t('setting.versionInfo.labelGovernance')}</Term>
<FlexibleDefinition className="truncate">
<FlexibleDefinition className="truncate xl:max-w-60">
<Link
label={`${pluginName} v${pluginVersion}`}
description={shortenAddress(pluginAddress)}
Expand Down

0 comments on commit c78de83

Please sign in to comment.