Reactions: Make reactions size bigger (#2398)
This commit is contained in:
parent
35bf02107e
commit
b0e3832a75
@ -6,9 +6,9 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
width: 1.125rem;
|
||||
height: 1.125rem;
|
||||
margin-right: 0.25rem;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
margin-right: 0.125rem;
|
||||
|
||||
z-index: 1;
|
||||
|
||||
|
||||
@ -33,8 +33,8 @@ type OwnProps = {
|
||||
observeIntersection?: ObserveFn;
|
||||
};
|
||||
|
||||
const CENTER_ICON_SIZE = 1.875 * REM;
|
||||
const EFFECT_SIZE = 6.25 * REM;
|
||||
const CENTER_ICON_SIZE = 2.5 * REM;
|
||||
const EFFECT_SIZE = 6.5 * REM;
|
||||
|
||||
const ReactionAnimatedEmoji: FC<OwnProps> = ({
|
||||
reaction,
|
||||
|
||||
@ -10,11 +10,11 @@
|
||||
--reaction-background: var(--color-reaction);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 1.75rem;
|
||||
height: 1.875rem;
|
||||
white-space: nowrap;
|
||||
width: auto;
|
||||
margin: 0.125rem;
|
||||
padding: 0 0.5rem;
|
||||
padding: 0 0.25rem;
|
||||
border: 2px solid transparent;
|
||||
background-color: var(--reaction-background) !important;
|
||||
border-radius: 1.75rem;
|
||||
@ -23,7 +23,11 @@
|
||||
text-transform: none;
|
||||
color: var(--accent-color);
|
||||
overflow: visible;
|
||||
line-height: 1.25rem;
|
||||
line-height: 1.75rem;
|
||||
|
||||
.ReactionStaticEmoji {
|
||||
width: 1.25rem;
|
||||
}
|
||||
|
||||
.avatars {
|
||||
display: flex;
|
||||
@ -31,8 +35,8 @@
|
||||
.Avatar {
|
||||
margin: 0 0 0 -0.25rem;
|
||||
border: 0.0625rem solid var(--reaction-background);
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
|
||||
&:first-child {
|
||||
margin: 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user