GEN-2: surface Farbschlag images (FarbschlagImage component) in breeding results, animal detail, form picker
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
20
gerbil-manager-web/src/components/FarbschlagImage.css
Normal file
20
gerbil-manager-web/src/components/FarbschlagImage.css
Normal file
@@ -0,0 +1,20 @@
|
||||
.farbschlag-thumb {
|
||||
object-fit: cover;
|
||||
border-radius: 0.4rem;
|
||||
border: 1px solid var(--color-border);
|
||||
background: var(--color-surface);
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* With a leading thumbnail, let the name grow so the probability stays right. */
|
||||
.farbschlag-card .farbschlag-card__name {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* Inline image + name (e.g. on the animal detail Stammdaten row). */
|
||||
.farbschlag-value {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user