Update name/description heights in badge dialog
Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
This commit is contained in:
parent
d2342a05b5
commit
bfcfafe52a
|
@ -99,13 +99,16 @@
|
||||||
|
|
||||||
&__name {
|
&__name {
|
||||||
@include font-title-2;
|
@include font-title-2;
|
||||||
@include fixed-height(2.5rem);
|
@include fixed-height(3.5em);
|
||||||
margin-top: 24px;
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
|
margin-top: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__description {
|
&__description {
|
||||||
@include font-body-1;
|
@include font-body-1;
|
||||||
@include fixed-height(3.5rem);
|
@include fixed-height(5.5em);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,8 @@ export function getFakeBadge({
|
||||||
id,
|
id,
|
||||||
category: alternate ? BadgeCategory.Other : BadgeCategory.Donor,
|
category: alternate ? BadgeCategory.Other : BadgeCategory.Donor,
|
||||||
name: `Test Badge ${alternate ? 'B' : 'A'}`,
|
name: `Test Badge ${alternate ? 'B' : 'A'}`,
|
||||||
descriptionTemplate: '{short_name} got this badge for no good reason',
|
descriptionTemplate:
|
||||||
|
"{short_name} got this badge because they're cool. Signal is a nonprofit with no advertisers or investors, supported only by people like you.",
|
||||||
images: [
|
images: [
|
||||||
...Array(3).fill(
|
...Array(3).fill(
|
||||||
zipObject(Object.values(BadgeImageTheme), repeat(imageFile))
|
zipObject(Object.values(BadgeImageTheme), repeat(imageFile))
|
||||||
|
|
Loading…
Reference in New Issue