atriplex-co / hyalus-desktop

Hyalus desktop client (Windows/macOS/Linux)
https://hyalus.app
GNU Affero General Public License v3.0
20 stars 5 forks source link

Adjust spacing between message #50

Closed gidoBOSSftw5731 closed 3 years ago

gidoBOSSftw5731 commented 3 years ago

originally proposed in #48

gidoBOSSftw5731 commented 3 years ago

Seems to be a bug, will send in commit to fix momentarily (tailwindcss is weird)

gidoBOSSftw5731 commented 3 years ago

Screenshot from 2021-04-14 14-47-23 Updated spacing to use these rules: If the last message was less than 30 minutes ago and from the same person, lessen padding If it was over 30 minutes ago or from someone else, add padding

Avatars also follow a similar rule.

gidoBOSSftw5731 commented 3 years ago

Screenshot from 2021-04-14 15-05-16 same rules as before but the spacing was partially reduced

(ignore the broken PFPs it has to do with my nginx dev instnace)

A-A-Rush-INC commented 3 years ago

Splitting after 30 minutes (as gido's done here) would be much appreciated.

asineth0 commented 3 years ago

Added in 889eae2. Although, I changed the threshold for messages being "recent" to 15m and made the computed properties a bit clearer/easier to understand.