Skip to content

Commit b8e88b3

Browse files
authored
Fix align-self-center of gun, horse, biohazard (#2627)
1 parent 25c310c commit b8e88b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/notifications.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function Horse ({ n }) {
218218

219219
return (
220220
<div className='d-flex'>
221-
<div style={{ fontSize: '2rem' }}><Icon className='align-self-center fill-grey' height={40} width={40} /></div>
221+
<div style={{ fontSize: '2rem', alignSelf: 'center' }}><Icon className='fill-grey' height={40} width={40} /></div>
222222
<div className='ms-1 p-1'>
223223
<span className='fw-bold'>you {found ? 'found a' : 'lost your'} horse</span>
224224
<div><small style={{ lineHeight: '140%', display: 'inline-block' }}>{blurb(n)}</small></div>
@@ -233,7 +233,7 @@ function Gun ({ n }) {
233233

234234
return (
235235
<div className='d-flex'>
236-
<div style={{ fontSize: '2rem' }}><Icon className='align-self-center fill-grey' height={40} width={40} /></div>
236+
<div style={{ fontSize: '2rem', alignSelf: 'center' }}><Icon className='fill-grey' height={40} width={40} /></div>
237237
<div className='ms-1 p-1'>
238238
<span className='fw-bold'>you {found ? 'found a' : 'lost your'} gun</span>
239239
<div><small style={{ lineHeight: '140%', display: 'inline-block' }}>{blurb(n)}</small></div>
@@ -246,7 +246,7 @@ function Infection ({ n }) {
246246
// TODO: use random blurbs?
247247
return (
248248
<div className='d-flex'>
249-
<BioHazardIcon className='align-self-center fill-grey mx-1' width={40} height={40} />
249+
<div style={{ fontSize: '2rem', alignSelf: 'center' }}><BioHazardIcon className='fill-grey mx-1' width={40} height={40} /></div>
250250
<div className='ms-2'>
251251
<NoteHeader big>
252252
you have been bitten by a zombie

0 commit comments

Comments
 (0)