Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 4159566

Browse files
author
Kerry Archibald
committed
adjust spinner size
Signed-off-by: Kerry Archibald <[email protected]>
1 parent b585653 commit 4159566

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

res/css/components/views/messages/_MBeaconBody.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,17 @@ limitations under the License.
3030
}
3131

3232
.mx_MBeaconBody_mapFallback {
33-
background: url('$(res)/img/location/map.svg');
34-
background-size: cover;
35-
33+
box-sizing: border-box;
3634
display: flex;
3735
justify-content: center;
3836
align-items: center;
37+
38+
// pushes spinner/icon up
39+
// to appear more centered with the footer
40+
padding-bottom: 50px;
41+
42+
background: url('$(res)/img/location/map.svg');
43+
background-size: cover;
3944
}
4045

4146
.mx_MBeaconBody_mapFallbackIcon {

src/components/views/messages/MBeaconBody.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const MBeaconBody: React.FC<IBodyProps> = React.forwardRef(({ mxEvent, ...rest }
9999
</Map>
100100
: <div className='mx_MBeaconBody_map mx_MBeaconBody_mapFallback'>
101101
{ displayStatus === BeaconDisplayStatus.Loading ?
102-
<Spinner h={45} w={45} /> :
102+
<Spinner h={32} w={32} /> :
103103
<LocationMarkerIcon className='mx_MBeaconBody_mapFallbackIcon' />
104104
}
105105
</div>

0 commit comments

Comments
 (0)