mirror of
https://github.com/immich-app/immich.git
synced 2025-02-04 01:09:14 -05:00
fix(web): remove global style from map marker (#2408)
This commit is contained in:
parent
f1b70e13a1
commit
dffd992304
1 changed files with 3 additions and 8 deletions
|
@ -100,18 +100,13 @@
|
||||||
<slot />
|
<slot />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<style>
|
<style lang="postcss">
|
||||||
:global(.leaflet-marker-icon) {
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
:global(.marker-cluster) {
|
:global(.marker-cluster) {
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border-radius: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.asset-marker-icon) {
|
:global(.asset-marker-icon) {
|
||||||
border-radius: 50%;
|
@apply rounded-full;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
border: 1px solid rgb(69, 80, 169);
|
border: 1px solid rgb(69, 80, 169);
|
||||||
box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px,
|
box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px,
|
||||||
|
@ -126,7 +121,7 @@
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 20px;
|
@apply rounded-full;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
||||||
background-color: rgb(236, 237, 246);
|
background-color: rgb(236, 237, 246);
|
||||||
|
|
Loading…
Add table
Reference in a new issue