Browse Source
* Fix oversize padding on captioned images/videos Use consistent padding with the InReplyToView for the media, and consistent caption padding with other textual messages. Signed-off-by: Joe Groocock <me@frebib.net> * Update screenshots --------- Signed-off-by: Joe Groocock <me@frebib.net> Co-authored-by: Jorge Martín <jorgem@element.io> Co-authored-by: ElementBot <android@element.io>develop
Joe Groocock
12 hours ago
committed by
GitHub
44 changed files with 127 additions and 99 deletions
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
/* |
||||
* Copyright 2024 New Vector Ltd. |
||||
* |
||||
* SPDX-License-Identifier: AGPL-3.0-only |
||||
* Please see LICENSE in the repository root for full details. |
||||
*/ |
||||
|
||||
package io.element.android.features.messages.impl.timeline.components |
||||
|
||||
enum class ContentPadding { |
||||
Textual, |
||||
Media, |
||||
CaptionedMedia |
||||
} |
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:926904f8e96ed206835166d6a6d206a8ed2c0ea6895f2e48951b43a5b92aeee7 |
||||
size 225862 |
||||
oid sha256:971d327ffaf387e7fab5d64787fc37d7bd4aa2d54e34be66685009172c04e36e |
||||
size 233849 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:727a7e925722c7addc8b8021259ad15f3cb0e664803bbd4c67959ec1e9ca036a |
||||
size 226638 |
||||
oid sha256:71e0536389e7f914996b300cb5b53eb3728b8008ef225f7107e7401a5bdab7b3 |
||||
size 234021 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:0db8b0043cc020fc8f7c7f5b44059486e022dd13080b02368723e253b1c616d7 |
||||
size 225018 |
||||
oid sha256:2be7690996fccc6133a3d61114228a0d53dd14bc15018e968d7e9720b151e50e |
||||
size 233146 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:feaf14edc0d7a8ff1349e9fb051ce883b0de75a2528f9a6650df398b81e82b68 |
||||
size 225300 |
||||
oid sha256:b7f8e6bd1eec91e55f1b0ea7fb6c591e5ddcb5f06fd1fc2e00994d657da9477e |
||||
size 234646 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:5570ff934240912f93649d15032c73619e630aceb357e66e41dce47e9d76f08f |
||||
size 166272 |
||||
oid sha256:0cf7e89fac181c1a0829e14d4ade4f236267e4e19a3aa2aa5c216f7f86e6aa87 |
||||
size 169050 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:5dd36474e36bf27f1355cf714e0b96a608ce48c21b364bcd928cc342a0df14cb |
||||
size 165299 |
||||
oid sha256:20ff9eca2a1ce793143485d886416503fef228e967ee606595dcd726a85c9832 |
||||
size 168179 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:d1574b190a911c47c56e6bed804bc43df35abfb54bf7beb7c2e927fdd2ff7536 |
||||
size 149028 |
||||
oid sha256:c86e8244db3e63a63c173c554a419eab63445b4c4bcfe0f69a4900fe19faf6d3 |
||||
size 151392 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:8d03e48af7b9b231ae2f1a559925548b1867b714835c505031a904f4f033ef64 |
||||
size 154441 |
||||
oid sha256:8400bc01f801b6d6c32dd5d4f6792fa8f89b831e10228f7875e8f7e89146d1f4 |
||||
size 156895 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:2502ede187b87dae2f4dd2a2aca1fbd889fd662aac022d7f491a043e7fdfbec9 |
||||
size 148753 |
||||
oid sha256:77817ceca6ab94dfd5ec239f281e15a0fd4be7a0e0a7e036f825710d5cdfe53d |
||||
size 151421 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:ce8393e7b0fe7bc049873002af6c3d476a8efd72872d5de4de3e22daea00bc33 |
||||
size 153901 |
||||
oid sha256:e9365f8bbf8aca62b6e76a0492dd7c9b28481d14e16ff89f44d4ab57f000a991 |
||||
size 156559 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:6b26c57ff6d960c53bfe25306529397c5e4f649ab239b3a53ac97161e6b0696d |
||||
size 134762 |
||||
oid sha256:45553883378459e04d228dd13f5e835c81718b1dd07db10f1800dd93afc32ee9 |
||||
size 142634 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:f35c5da381410d573704d51fdecf578986ee413de664367328429e148dba9933 |
||||
size 144013 |
||||
oid sha256:fc0da74b89149a4d0fd136bf56e2aab545229c01fd83a72cd4fd4fb9d8fa84d9 |
||||
size 151647 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:0527b6fee58ee0aee884c9027c56df6056aeded45f732c85fe821d2684fff8b7 |
||||
size 134434 |
||||
oid sha256:545647e1c8c03e1517c5cb6fac8caca4eb293775714f5d8ba3c44b15e9191a5e |
||||
size 141956 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:c036d41362553348b7d0e94a375cdcfe8ff25fd6a87d5322265f93347646698c |
||||
size 142914 |
||||
oid sha256:a5ee904904ca3a9167174a61f5ceaec59d3ba67fc783639bae168959f078647a |
||||
size 150760 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:ec3ceb17cad25bdc7fd400de87fed007652260fdb844f1c94726703d220eec18 |
||||
size 153858 |
||||
oid sha256:3c54d751ee267a696c0dcf591636ee00080db05208692fa4c7eda444396727dc |
||||
size 156265 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:82e2841a18615cb4111ddbb8d2ad6f224f3925dca7cbaaaa032e8ca3fdc9943b |
||||
size 139873 |
||||
oid sha256:90e38333fd30ac4714249ab8709a30621c4fc1f2e0ebe753df0a114678df019a |
||||
size 142215 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:4295f1505656671238f52bc266db484999ce9b54e2c51549d8e6550817a986a3 |
||||
size 151754 |
||||
oid sha256:48fe571432922b2ee2891a582dfb52fd535ca8c2515df98ed44016d2533c27db |
||||
size 154251 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:71a7151373fbe647116cbb45f941f8d2a237208f2ce0b09c159e607a2085a5d7 |
||||
size 160534 |
||||
oid sha256:8f9e3ed9354b363106baeaea5002a85bc1e030e5cde5581a823ae996fc0346a6 |
||||
size 163443 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:01d35f90258839990fd145d7705dcc922ee215301025b9190b1d2dabaa54c9d5 |
||||
size 142376 |
||||
oid sha256:f8b4b1a0b5778fd07679a866d00306c9068fc9c72a1512704f87ef071446f772 |
||||
size 144974 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:2fe6ff541b02a70684ddee8ab23bb5e9ebf5ebbf8894736b502046c457e37af0 |
||||
size 141012 |
||||
oid sha256:6e8566e74889b763b3843c3f1d98e6dd002ddadd67e26a6de7b91dff2bd57932 |
||||
size 143450 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:bd7c918de1d5ae1df41f6ecc8f71ff96c4a7e447958b060c846c130d53ca8a28 |
||||
size 148543 |
||||
oid sha256:08caf86f4b7242139a1e53a0b8d0736782be02496b858b1af9a1aa6209ec33d3 |
||||
size 150903 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:e47997345500dbde05be43640da93880c4ddbef86c2643e941c0c48a8b2b1333 |
||||
size 140148 |
||||
oid sha256:b6be795f587d11a9bcb8ffffb097ff6cf2bda119fafda15ea48421d4b4af05e0 |
||||
size 142574 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:6096e1365d2ab4987d5d1d827e4d2fe8d14cb7977fca35a4d7cc7aad157ba639 |
||||
size 140904 |
||||
oid sha256:d31b4335075205b9332baf8e04daed8e57e8a5d4b8c145cad91498acaa5f9cf6 |
||||
size 143373 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:b2151e5ad75f2df1358e0717ed73afcc729f1dd83e2c65bd0b4b6a49d58bd5fa |
||||
size 142585 |
||||
oid sha256:74d7af64a2c2736f16e7f367116d0be0c6512d89bd1fff859f4a99207b9894ee |
||||
size 145167 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:31cd37875c57588ee2403ea21dcda0ac35b37bbedc11d249ba0bc836b3cbac76 |
||||
size 149014 |
||||
oid sha256:104b43c0106da2234ceb27250c632e17e9acdb5351cd4768e0a345ac5143f340 |
||||
size 151442 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:739b154f1f4cc6432f317f35be43f484d970a30b186da0170edbab61029c9141 |
||||
size 140418 |
||||
oid sha256:d6aceaaa2ca90fc3fb6ab3b1af31e8fab8676f737574617a700119a1dbc4bc48 |
||||
size 142845 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:c58fc185623d5485722b15ff4da898bd67f2de943b829fb4e2822cc672089e18 |
||||
size 153446 |
||||
oid sha256:aee3dba6d86d7a042649a39757df61f27ec23fa957ffe8a5cd0c77fac6a3925e |
||||
size 156135 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:6d203450dd2e6a46f79a0358c8babc758f70eed8d3ce0c1d8d24ca09befb6353 |
||||
size 139286 |
||||
oid sha256:c29dc6c1af653d70969e73cf1f67c9787a5156b336d7832993d4323ba5505bfe |
||||
size 141996 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:09fce25d56a9b6591faa7a54b357d35914c5033a53d354600afaf9cf5235ef48 |
||||
size 151615 |
||||
oid sha256:9adeb033047491e9eff08f087bd4aa3bb1a3cedca4587d0f04935a10548126be |
||||
size 154279 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:22d7a6274ec746f9c393b0c30a430672214b95488afe4eb34b95788271750d06 |
||||
size 159040 |
||||
oid sha256:ad72a84a11b175855cf80c608a0b22fbd3f582b25d511dea35a91e7d860a59f4 |
||||
size 162172 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:2f8cfe0b07aeae86800264afd18ff065726bc2ef13d091f903278ea94dd07a4d |
||||
size 141923 |
||||
oid sha256:8bf85afb864f47b9d11ddf00be361e9b60be7f6c92072ffbbbd0c0a75d4d2d9f |
||||
size 144907 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:14ce8cbd856ec966f7c2f6eef97f143012eafb497cf8b44229ca7d626ebc78d7 |
||||
size 140541 |
||||
oid sha256:bb600b890d2823da01ba95f7a5e1a44c71cf7c87c00dd4178a9939ababa66971 |
||||
size 143402 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:11609976ab2f65de562f2db39e60e0c6d54105823c36ccff3e8976117ecab4eb |
||||
size 148378 |
||||
oid sha256:e0e9dad1c0d8cd9ef6a59a05f6d10806c499bae39502c8bacb4655a9c99517f8 |
||||
size 150857 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:b64cb4cadd68db4a6d7de7cf02f9e9a0bb252a20a412e37f4ee46e6062527549 |
||||
size 139622 |
||||
oid sha256:bf9232176cb465087624f5e26a7d03cbcff0287000767fc328f71c8e7397a6c5 |
||||
size 142471 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:98fdf3c429ec9b1a49bdfdbbd8d615ef0f7bcd566bda646fc1f45d021bcbca1a |
||||
size 140315 |
||||
oid sha256:e7b29247d5f3d9a6e598b661542fba680e849352c6fe8bc77f8d206d89ecf49f |
||||
size 143071 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:25f4054db92cad3406b148c98cbc639d968e976174a956a89b73c65eaf0c4f07 |
||||
size 142279 |
||||
oid sha256:9cfdfc3db13e98e93653e71ed8030eae544a74ce4bacc7d9fcb18165a69d9484 |
||||
size 145144 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:5a0eb3967c5e6a3bde67cbd16a62ab74e2331a699c122a51d1743c9f8b59d69f |
||||
size 148797 |
||||
oid sha256:2138f335a2e17ba9beaf9f9e30f3a02517bf3a3841d48ab9287621f7954fca8e |
||||
size 151370 |
||||
|
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1 |
||||
oid sha256:d9b85054f616057e3ae37dd4e0cf1870502c841d77d2a005c06eebcfd1517d98 |
||||
size 139799 |
||||
oid sha256:d1e0c669adf450d9720df45424dd59c51f2d2a5d867bd166a56f9e7e3cbe0483 |
||||
size 142607 |
||||
|
Loading…
Reference in new issue