-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(web): remove tree item thumbnail class 'max-h-[500px]' #14901
base: main
Are you sure you want to change the base?
chore(web): remove tree item thumbnail class 'max-h-[500px]' #14901
Conversation
MehringTing
commented
Dec 24, 2024
@@ -12,7 +12,7 @@ | |||
|
|||
{#if items.length > 0} | |||
<div | |||
class="w-full grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-6 2xl:grid-cols-8 gap-2 bg-gray-50 dark:bg-immich-dark-gray/50 rounded-2xl border border-gray-100 dark:border-gray-900 max-h-[500px] overflow-auto immich-scrollbar" | |||
class="w-full grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-6 2xl:grid-cols-8 gap-2 bg-gray-50 dark:bg-immich-dark-gray/50 rounded-2xl border border-gray-100 dark:border-gray-900 overflow-auto immich-scrollbar" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The breadcrumb navigation bar scrolls out of view due to this change. It would be better if it remained visible at the top at all times.
Since this div no longer overflows, these classes can be removed:
class="w-full grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-6 2xl:grid-cols-8 gap-2 bg-gray-50 dark:bg-immich-dark-gray/50 rounded-2xl border border-gray-100 dark:border-gray-900 overflow-auto immich-scrollbar" | |
class="w-full grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-6 2xl:grid-cols-8 gap-2 bg-gray-50 dark:bg-immich-dark-gray/50 rounded-2xl border border-gray-100 dark:border-gray-900" | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes,It is better to fix it at the top.
b859931
to
c1242ab
Compare
We need the max-height to show the assets of the nested tag/folder |
I think it should work like the file browser does. Having two scroll sections is weird and doesn't make good use of space. |
Not a bad reasoning |