fix(web): align all edit buttons and not correctly rounded buttons on detail-panel (#5524)

* fix: align all pencils

* fix: format
This commit is contained in:
martin 2023-12-07 03:03:28 +01:00 committed by GitHub
parent 338a028185
commit 8736c77f7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View file

@ -11,10 +11,13 @@
export let forceDark = false;
export let hideMobile = false;
export let iconColor = 'currentColor';
export let buttonSize: string | undefined = undefined;
</script>
<button
{title}
style:width={buttonSize ? buttonSize + 'px' : ''}
style:height={buttonSize ? buttonSize + 'px' : ''}
style:background-color={backgroundColor}
style:--immich-icon-button-hover-color={hoverColor}
class:dark:text-immich-dark-fg={!forceDark}