fix(web): Timeline narrow date groups style (#2713)

* Truncate date group title

* Precalculate justified layout width

* Add title to date group title to show when truncated

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Sergey Kondrikov 2023-06-10 21:13:06 +03:00 committed by GitHub
parent 9cdec62918
commit 053a0482b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 14 deletions

View file

@ -66,7 +66,7 @@
<div
style:width="{width}px"
style:height="{height}px"
class="relative group {disabled
class="relative group overflow-hidden {disabled
? 'bg-gray-300'
: 'bg-immich-primary/20 dark:bg-immich-dark-primary/20'}"
class:cursor-not-allowed={disabled}