From f4dc4181ad5b2aa2a7897736b138719b86a1abcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 21 Nov 2021 19:29:16 +0100 Subject: [PATCH] Add icons for chat previews with attachments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/features/chats/components/chat.js | Bin 2079 -> 2953 bytes app/soapbox/locales/pl.json | 2 ++ app/styles/chats.scss | 8 ++++++++ 3 files changed, 10 insertions(+) diff --git a/app/soapbox/features/chats/components/chat.js b/app/soapbox/features/chats/components/chat.js index 8db6ddb62f9f164494a6c8dda66eb76b5c06fc8f..233f861f6c9f37e190e5719a3eab9c575040d6d4 100644 GIT binary patch delta 767 zcma)4Jxc>Y5GANNu+l~gK}SRW~rf`WZKdH90&&L(33Qa~9B! zh^YP6KhJH8P)SWt3uH6|7|GO)y!QiXM-h+6_`*(cfAEzn&3KlS1+6gtnBC|N-xh;c z#r=7(Ws!zJgl=UOMgZ8_8tckUPPM3TiK@-5DuyM%P=x%N9u&tb+hMV6h-oqxf?5Sk z2z|^fQG@ll_Z)V!OA3h$Cnc?lvu3}=-}$vM!8?hk2`qroLA9HzKLpKhJ3{jU9ud2- zLX#ZQG>orWl4RN3HL(bLe?XbyI%o?upW+{#9O1337Ts%9U8|IAm~aTrMf{nEIPdxK zu6Gg}Z*j>jnl?Lxt@XxcnBfIDnCJn1O;)BZMbxVpv>2K4XxVj=2|}GWSf@?HqpD)f p{b&UL0QP$DKdNbxCWMOa|A9G>@OWmmkdw?cV?Z delta 47 zcmV+~0MP%57oQN2sj=8g0kcj5ECaJ52GjwQ3JDaGD+m#j=?M&zJqZw#PYFN*FFupu F3aETA4+{VQ diff --git a/app/soapbox/locales/pl.json b/app/soapbox/locales/pl.json index 3a23257696..8aea88a1bc 100644 --- a/app/soapbox/locales/pl.json +++ b/app/soapbox/locales/pl.json @@ -138,6 +138,8 @@ "chats.actions.delete": "Usuń wiadomość", "chats.actions.more": "Więcej", "chats.actions.report": "Zgłoś użytkownika", + "chats.attachment": "Załącznik", + "chats.attachment_image": "Zdjęcie", "chats.audio_toggle_off": "Wyłączono dźwięk powiadomień", "chats.audio_toggle_on": "Włączono dźwięk powiadomień", "chats.dividers.today": "Dzisiaj", diff --git a/app/styles/chats.scss b/app/styles/chats.scss index ba324be241..8e006f6122 100644 --- a/app/styles/chats.scss +++ b/app/styles/chats.scss @@ -450,6 +450,10 @@ } .chat { + &__attachment-icon { + float: right; + } + &__last-message { display: block; overflow: hidden; @@ -459,6 +463,10 @@ a { color: var(--highlight-text-color); } + + &.attachment { + font-style: italic; + } } }