Skip to content

SVG checkerboard only shows on hover #13909

@robdekort

Description

@robdekort

Bug description

I just realized the checkboard in the asset browsers only shows on hover. This seems very counter intuitive to me. The checkboard is intended to indicate transparency, so I'd always let it do exactly that. Not showing the checkboard serves no real life purpose imo, other than a design preference.

I noticed on mobile you have to touch an image to see the checkerboard, which I suspect is probably less easy to discover.

Image

How to reproduce

View an SVG (PNG's do show transparency by default)

Logs

Environment

Environment
Application Name: Theory Digital
Laravel Version: 12.51.0
PHP Version: 8.4.17
Composer Version: 2.9.3
Environment: local
Debug Mode: ENABLED
URL: theorydigital.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Locales
Installed: en
LaravelLang\Actions\Plugin: 1.12.0
LaravelLang\Attributes\Plugin: 2.15.2
LaravelLang\HttpStatuses\Plugin: 3.12.1
LaravelLang\Lang\Plugin: 15.28.3
LaravelLang\MoonShine\Plugin: INCORRECT
LaravelLang\StarterKits\Plugin: 1.8.0
Locales Version: 2.10.0
Protected: en
Publisher Version: 16.7.1

Livewire
Livewire: v4.1.4

Statamic
Addons: 7
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.2.5 PRO

Statamic Addons
marcorieser/statamic-livewire: 5.2.1
rias/statamic-color-swatches: 3.1.1
stillat/relationships: dev-patch-1
studio1902/statamic-peak-browser-appearance: 4.0.0
studio1902/statamic-peak-commands: 10.2.1
studio1902/statamic-peak-seo: 10.0.0
studio1902/statamic-peak-tools: 8.4.0

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions