Commit graph

1650 commits

Author SHA1 Message Date
Lim Chee Aun
58c6b6349c Time to embrace prefers-reduced-motion with picture 2023-08-08 15:34:24 +08:00
Lim Chee Aun
fb798ce895 Recode EmojiText, fix bug for some emojis not being replaced 2023-08-08 14:04:12 +08:00
Lim Chee Aun
c3f80cec9b Show displayName too 2023-08-08 14:03:27 +08:00
Lim Chee Aun
9a44dfafa6 Show group tag in search results 2023-08-07 21:26:56 +08:00
Lim Chee Aun
a8c7e08f3f Treat posts from groups differently from boosts 2023-08-07 21:26:43 +08:00
Lim Chee Aun
e53f0efde9 Test fix: Prevent pull-to-refresh on Chrome PWA 2023-08-07 16:11:11 +08:00
Lim Chee Aun
794ee3cb74 More accurate border radius 2023-08-07 16:00:12 +08:00
Lim Chee Aun
9b23e051e2 Still need this length check, this "done" is not reliable 2023-08-07 11:39:42 +08:00
Lim Chee Aun
0b3875c2cf Only focus when menu item is clicked 2023-08-06 16:54:13 +08:00
Lim Chee Aun
c13e148b36 How did I even code this 2023-08-05 00:16:18 +08:00
Lim Chee Aun
6b8ae97d98 Add small link icon for imageless link cards 2023-08-05 00:15:57 +08:00
Lim Chee Aun
d36ea02a02 Undo "Experiment: make replies container not whole-clickable" 2023-08-03 02:10:59 +08:00
Lim Chee Aun
76823b8497 Don't propagate large styles to status cards 2023-08-03 02:02:00 +08:00
Lim Chee Aun
1887a34fc5 Another aspect ratio style fix 2023-08-02 17:41:00 +08:00
Lim Chee Aun
88accb2a78 Reduce code for spoiler styles 2023-08-02 17:40:28 +08:00
Lim Chee Aun
c91cda1a2c Ok the math was too advanced for CSS 2023-08-01 23:54:28 +08:00
Lim Chee Aun
dc7083a11d Pushing the limits of my math 2023-08-01 23:44:28 +08:00
Lim Chee Aun
b0ed0be47d Allow keyboard nav after clicking on buttons in media carousel 2023-08-01 19:43:52 +08:00
Lim Chee Aun
75cfd02134 Need link for ancestors too 2023-08-01 19:24:12 +08:00
Chee Aun
e7f624c33c
Merge pull request #202 from natsukagami/transform-by-main-width
Use `--main-width` for transform calculation
2023-08-01 18:56:57 +08:00
Natsu Kagami
509efd2ce0
Use --main-width for transform calculation
... instead of hard-coding. Make it easier on the eyes for forks with `--main-width` modified :P
2023-08-01 17:36:43 +07:00
Lim Chee Aun
c30eaee4e2 Somehow this kinda works 2023-08-01 18:20:54 +08:00
Lim Chee Aun
72ff229dfb Upgrade dependencies 2023-08-01 14:27:11 +08:00
Lim Chee Aun
30d532c2e3 Allow user-selection on hero post in status page 2023-08-01 14:26:59 +08:00
Lim Chee Aun
b1b1ed0f3f Adjustments to prevent layout shift 2023-08-01 14:26:22 +08:00
Lim Chee Aun
48a5fc6327 One more fix for preventing callout 2023-08-01 09:43:25 +08:00
Lim Chee Aun
c28bae7708 Try prevent touch callout when long-press 2023-08-01 09:12:43 +08:00
Lim Chee Aun
031bdc0a88 Forgot to commit these 2023-08-01 00:59:58 +08:00
Lim Chee Aun
8cd00a053c Experiment: make replies container not whole-clickable
Except for "thread" statuses
2023-08-01 00:15:07 +08:00
Lim Chee Aun
3fe99050e0 Small fixes 2023-08-01 00:12:01 +08:00
Lim Chee Aun
ba9cf70f44 Unproxy the proxy 2023-07-31 20:30:29 +08:00
Lim Chee Aun
507d8f449a Safari seems really confused with this 2023-07-31 09:31:34 +08:00
Lim Chee Aun
cf59b9dda1 Definitely need to recode this one day
Or at least split the code for single media vs multiple media
2023-07-31 00:37:57 +08:00
Lim Chee Aun
760fdb66db Quick fix for Safari 2023-07-31 00:24:45 +08:00
Lim Chee Aun
c003724108 Few changes to how media rendering
1. Try respect aspect when only 1 media
2. Distance-based image inner-scroll animation
3. Small inner radius between media when >=2 media
2023-07-30 21:28:17 +08:00
Lim Chee Aun
fad286e617 Some posts have nested lists 2023-07-26 11:25:57 +08:00
Lim Chee Aun
14091fbc7b It's time to widen carousel for Firefox users
Srsly take too long time waiting for Firefox to support :has()
2023-07-25 17:23:22 +08:00
Lim Chee Aun
6fe182a7a3 Shazam the mini translation block 2023-07-24 22:27:30 +08:00
Lim Chee Aun
871fe11d0f Add safe min-width for poll 2023-07-23 16:57:43 +08:00
Lim Chee Aun
b0808305ab Fix poll meta not showing 2023-07-23 16:57:20 +08:00
Lim Chee Aun
4bf6b00b94 Shorten shortenNumber code 2023-07-23 14:09:39 +08:00
Lim Chee Aun
5fa02f9cc4 Fix max-width bug for profile field 2023-07-23 01:00:22 +08:00
Lim Chee Aun
32a853ecc0 Make auto inline translation as a setting, turned off by default 2023-07-22 20:59:07 +08:00
Lim Chee Aun
d8b385a742 Fix logic not checking different language 2023-07-22 20:50:53 +08:00
Lim Chee Aun
bc3e946f61 lol why need to keep checking the text 2023-07-22 20:48:01 +08:00
Lim Chee Aun
eb13fe8ce0 Fix logic again
I really need to rename these variables to be less confusing
2023-07-22 20:31:13 +08:00
Lim Chee Aun
28ad18bd0b Show pronunciation text in tooltip 2023-07-22 20:30:32 +08:00
Lim Chee Aun
9869c9dc5b If translated text is same as original text, don't show it
This means language detection messed up
2023-07-22 20:30:18 +08:00
Lim Chee Aun
ac9962b051 Don't show inline translation if has card 2023-07-22 10:10:41 +08:00
Lim Chee Aun
075c729807 Fix logic again 2023-07-22 00:06:15 +08:00