New TA and align fix
This commit is contained in:
parent
26ea489fd9
commit
8ae8efe2e8
9 changed files with 37 additions and 4 deletions
src/components
|
@ -18,7 +18,7 @@ const options_date: Intl.DateTimeFormatOptions = {
|
|||
}
|
||||
|
||||
const formatted_date = new Date(date).toLocaleDateString('de-DE', options_date)
|
||||
const icon: string = `background: url('/assets/ta_icons/${image}.webp')`
|
||||
const icon: string = `background-image: url('/assets/ta_icons/${image}.webp')`
|
||||
const servant: string = `/assets/ta_icons/ta_servants/${ta_servant}.webp`
|
||||
|
||||
let hasuser = ''
|
||||
|
@ -77,8 +77,8 @@ if (user !== undefined) {
|
|||
width: var(--size-value);
|
||||
height: var(--size-value);
|
||||
margin: 0.5rem;
|
||||
object-fit: contain;
|
||||
object-position: 0% 0%;
|
||||
background-size: var(--size-value);
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
article:hover .icon span {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue