Skip to content

Commit

Permalink
more styling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pdp2121 committed Nov 20, 2023
1 parent eab3965 commit ee5c549
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion public/locales/en-US/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@
"eta": "eta",
"amendment_summary": "Amendment Summary",
"not": "not",
"tx": "tx",
"enable_tx": "Enable tx",
"all": "all",
"yeas_count": "# of Yea Votes: {{yeas_count}}",
"nays_count": "# of Nay Votes: {{nays_count}}",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/es-ES/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@
"amendment_summary": null,
"not_enabled": null,
"enabled_on": null,
"tx": null,
"enable_tx": null,
"yeas_all": null,
"nays_all": null,
"yeas_unl": null,
Expand Down
2 changes: 1 addition & 1 deletion public/locales/fr-FR/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
"eta": null,
"amendment_summary": null,
"not": null,
"tx": null,
"enable_tx": null,
"all": null,
"yeas_count": null,
"nays_count": null,
Expand Down
2 changes: 1 addition & 1 deletion public/locales/ja-JP/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@
"eta": null,
"amendment_summary": null,
"not": null,
"tx": null,
"enable_tx": null,
"all": null,
"yeas_count": null,
"nays_count": null,
Expand Down
2 changes: 1 addition & 1 deletion public/locales/ko-KR/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
"eta": null,
"amendment_summary": null,
"not": null,
"tx": null,
"enable_tx": null,
"all": null,
"yeas_count": null,
"nays_count": null,
Expand Down
4 changes: 2 additions & 2 deletions src/containers/Amendment/Simple.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const Simple = ({ data, validators, width }: SimpleProps) => {
</SimpleRow>
</>
) : data.tx_hash ? (
<SimpleRow label={`${t('enabled')} (${t('on')})`.trim()}>
<SimpleRow label={`${t('enabled')} ${t('on')}`.trim()}>
<RouteLink to={TRANSACTION_ROUTE} params={{ identifier: data.tx_hash }}>
{' '}
{renderDate(data.date)}
Expand Down Expand Up @@ -109,7 +109,7 @@ export const Simple = ({ data, validators, width }: SimpleProps) => {
<SimpleRow label={t('threshold')}>{data.threshold}</SimpleRow>
) : (
data.tx_hash && (
<SimpleRow label={t('tx')}>
<SimpleRow label={t('enable_tx')}>
<RouteLink
to={TRANSACTION_ROUTE}
params={{ identifier: data.tx_hash }}
Expand Down
2 changes: 1 addition & 1 deletion src/containers/Amendments/AmendmentsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const AmendmentsTable: FC<{
<th className="version">{t('Version')}</th>
<th className="amendment-id">{t('amendment_id')}</th>
<th className="name">{t('amendment_name')}</th>
<th className="voters">{t('voters')}</th>
<th className="voters">{`${t('unl')} ${t('voters')}`}</th>
<th className="threshold">{t('threshold')}</th>
<th className="consensus">{t('consensus')}</th>
<th className="enabled">{t('enabled')}</th>
Expand Down
1 change: 1 addition & 0 deletions src/containers/Amendments/amendmentsTable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
.badge {
margin: 0;
color: $black-100;
text-transform: uppercase;

&.yes {
background-color: $green-60;
Expand Down
1 change: 0 additions & 1 deletion src/containers/Header/NavigationMenu/NavigationMenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ $menu-toggle-line-length: $menu-toggle-size - $menu-toggle-line-spacing;

.nav-item {
position: relative;
text-align: left;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/containers/Validators/votingTab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
.label {
margin: 0;
font-weight: 100;
text-transform: capitalize;
}

.text-truncate {
Expand Down

0 comments on commit ee5c549

Please sign in to comment.