[Glitch] Improve layout and spacing of number fields
Port cf7a092053 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
012c6bc9f2
commit
15b5812e17
4 files changed
+12
-3
No files matched your search
@@ -11,6 +11,8 @@ import { FormattedDateWrapper } from '../formatted_date';
|
||||
import { NumberFields, NumberFieldsItem } from '../number_fields';
|
||||
import { ShortNumber } from '../short_number';
|
||||
|
||||
import classes from './styles.module.scss';
|
||||
|
||||
export const AccountNumberFields: FC<{ accountId: string }> = ({
|
||||
accountId,
|
||||
}) => {
|
||||
@@ -33,7 +35,7 @@ export const AccountNumberFields: FC<{ accountId: string }> = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<NumberFields>
|
||||
<NumberFields className={classes.numberFields}>
|
||||
<NumberFieldsItem
|
||||
label={
|
||||
<FormattedMessage id='account.followers' defaultMessage='Followers' />
|
||||
|
||||
@@ -263,6 +263,12 @@ $button-fallback-breakpoint: $button-breakpoint + 55px;
|
||||
}
|
||||
}
|
||||
|
||||
.numberFields {
|
||||
@container (width >= #{$button-breakpoint}) {
|
||||
--number-fields-gap: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.bio {
|
||||
font-size: 15px;
|
||||
color: var(--color-text-primary);
|
||||
|
||||
Reference in new issue
Block a user