Skip to content

Commit 615db8a

Browse files
committed
Auto merge of #3370 - Turbo87:follow-button, r=locks
FollowButton: Avoid size changes Instead of having the button change its size depending on the content we now set a fixed size. This avoids annoying layout shifts when changing from text label to loading spinner and back, for example.
2 parents 0e93f7d + cdd5721 commit 615db8a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
.button {
22
composes: tan-button from '../styles/shared/buttons.module.css';
3+
4+
height: 48px;
5+
width: 150px;
6+
justify-content: center;
37
}

0 commit comments

Comments
 (0)