mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web) small UI improvements (#2369)
* small changes in asset viewer navigation * add conditional wrapper and scroll only content * fix formatting * update conditional wrapper * remove emptz title attribute * remove conditional-wrapper as it is not needed * remove isTimeline * fix map over sidebar * fix overlap * fix conflict * revert z-index * add relative z index --------- Co-authored-by: faupau03 <paul.paffe@gmx.net>
This commit is contained in:
parent
cd43edf074
commit
98bb3de8da
5 changed files with 32 additions and 13 deletions
|
|
@ -6,13 +6,17 @@
|
|||
export let hoverColor = '#e2e7e9';
|
||||
export let size = '24';
|
||||
export let title = '';
|
||||
export let isOpacity = false;
|
||||
</script>
|
||||
|
||||
<button
|
||||
{title}
|
||||
style:backgroundColor
|
||||
style:--immich-icon-button-hover-color={hoverColor}
|
||||
class="immich-circle-icon-button dark:text-immich-dark-fg hover:dark:text-immich-dark-gray rounded-full p-3 flex place-items-center place-content-center transition-all"
|
||||
class="dark:text-immich-dark-fg rounded-full p-3 flex place-items-center place-content-center transition-all
|
||||
{isOpacity
|
||||
? 'hover:bg-immich-bg/30'
|
||||
: 'immich-circle-icon-button hover:dark:text-immich-dark-gray'}"
|
||||
on:click
|
||||
>
|
||||
<svelte:component this={logo} {size} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue