Contain background image instead of cover

This commit is contained in:
Florian Hoss 2023-09-27 14:52:09 +02:00
parent 42c25c2d38
commit f7c7044cd7
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ deploy:
- tar -xvf teleport-v${TELEPORT_VERSION}-linux-amd64-bin.tar.gz
- ./teleport/install
- 'tbot start --token=gitlab --destination-dir=/tmp/tbot-user --data-dir=/tmp/tbot-data --auth-server=tp.unjx.de:443 --join-method=gitlab --oneshot'
- 'tsh -i /tmp/tbot-user/identity --proxy tp.unjx.de:443 ssh gitlab@berg "docker compose -f /opt/docker/home/compose.yml up -d --pull always"'
- 'tsh -i /tmp/tbot-user/identity --proxy tp.unjx.de:443 ssh gitlab@berg "docker compose -f /opt/docker/helper/compose.yml up home -d --pull always"'
- 'tsh -i /tmp/tbot-user/identity --proxy tp.unjx.de:443 ssh gitlab@berg "docker system prune --force"'
environment:
name: production

View file

@ -287,7 +287,7 @@
<div class="grid-apps">
{{ range .Entries }}
<a href="{{ .URL }}" class="bookmark-link flex items-center hover-effect">
<div class="img rounded-md w-8 h-8 bg-cover bg-center opacity-90" style="background-image: url({{ .Icon }})"></div>
<div class="img rounded-md w-8 h-8 bg-contain bg-center bg-no-repeat opacity-90" style="background-image: url({{ .Icon }})"></div>
<div class="uppercase truncate ml-2">{{ .Name }}</div>
</a>
{{ end }}