Reactions: Small fixes (#2234)
This commit is contained in:
parent
d64b6f2854
commit
74f470751a
@ -164,6 +164,7 @@ export default memo(withGlobal<OwnProps>(
|
||||
customEmojiSetIds: global.customEmojis.added.setIds,
|
||||
stickerSetsById: global.stickers.setsById,
|
||||
defaultReaction: global.config?.defaultReaction,
|
||||
availableReactions: global.availableReactions,
|
||||
};
|
||||
},
|
||||
)(SettingsStickers));
|
||||
|
||||
@ -72,11 +72,11 @@
|
||||
}
|
||||
|
||||
.quick-reaction {
|
||||
--custom-emoji-size: 2rem;
|
||||
--custom-emoji-size: 1.75rem;
|
||||
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
right: -0.5rem;
|
||||
right: -0.75rem;
|
||||
bottom: -0.375rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -102,7 +102,7 @@
|
||||
|
||||
&.own .quick-reaction {
|
||||
right: auto;
|
||||
left: -0.5rem;
|
||||
left: -0.75rem;
|
||||
}
|
||||
|
||||
&.last-in-group {
|
||||
|
||||
@ -241,7 +241,7 @@ const APPENDIX_OWN = { __html: '<svg width="9" height="20" xmlns="http://www.w3.
|
||||
const APPENDIX_NOT_OWN = { __html: '<svg width="9" height="20" xmlns="http://www.w3.org/2000/svg"><defs><filter x="-50%" y="-14.7%" width="200%" height="141.2%" filterUnits="objectBoundingBox" id="a"><feOffset dy="1" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="1" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0.0621962482 0 0 0 0 0.138574144 0 0 0 0 0.185037364 0 0 0 0.15 0" in="shadowBlurOuter1"/></filter></defs><g fill="none" fill-rule="evenodd"><path d="M3 17h6V0c-.193 2.84-.876 5.767-2.05 8.782-.904 2.325-2.446 4.485-4.625 6.48A1 1 0 003 17z" fill="#000" filter="url(#a)"/><path d="M3 17h6V0c-.193 2.84-.876 5.767-2.05 8.782-.904 2.325-2.446 4.485-4.625 6.48A1 1 0 003 17z" fill="#FFF" class="corner"/></g></svg>' };
|
||||
const APPEARANCE_DELAY = 10;
|
||||
const NO_MEDIA_CORNERS_THRESHOLD = 18;
|
||||
const QUICK_REACTION_SIZE = 2 * REM;
|
||||
const QUICK_REACTION_SIZE = 1.75 * REM;
|
||||
|
||||
const Message: FC<OwnProps & StateProps> = ({
|
||||
message,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user