Skip to content

Commit e747e98

Browse files
committed
fix grid colums to fit 3 apps in default width 315px
1 parent aefc279 commit e747e98

File tree

2 files changed

+46
-5
lines changed

2 files changed

+46
-5
lines changed

src/main/resources/application.yml

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,54 @@ spring:
5757

5858
appswitcher:
5959
apps:
60-
telefonbuch:
60+
example1:
61+
display-name: Example App
62+
url: https://example.com
63+
image-url: https://assets.muenchen.de/logos/itm/itm-logo-64.png
64+
tags:
65+
- global
66+
example2:
67+
display-name: Longer Name with Breaks
68+
url: https://example.com
69+
image-url: https://assets.muenchen.de/logos/itm/itm-logo-64.png
70+
tags:
71+
- global
72+
example3:
73+
display-name: LONG-NAME-WITHOUT-BREAKS
74+
url: https://example.com
75+
image-url: https://assets.muenchen.de/logos/itm/itm-logo-64.png
76+
tags:
77+
- global
78+
example4:
79+
display-name: ACME App
80+
url: https://example.com
81+
image-url: https://assets.muenchen.de/logos/itm/itm-logo-64.png
82+
tags:
83+
- global
84+
example5:
85+
display-name: Telefonbuch
86+
url: https://example.com
87+
image-url: https://assets.muenchen.de/logos/itm/itm-logo-64.png
88+
tags:
89+
- global
90+
example6:
91+
display-name: Telefonbuch
92+
url: https://example.com
93+
image-url: https://assets.muenchen.de/logos/itm/itm-logo-64.png
94+
tags:
95+
- global
96+
example7:
97+
display-name: Telefonbuch
98+
url: https://example.com
99+
image-url: https://assets.muenchen.de/logos/itm/itm-logo-64.png
100+
tags:
101+
- global
102+
example8:
61103
display-name: Telefonbuch
62-
url: https://www.gelbeseiten.de/
63-
image-url: https://i.imgur.com/PA25O7T.png
104+
url: https://example.com
105+
image-url: https://assets.muenchen.de/logos/itm/itm-logo-64.png
64106
tags:
65107
- global
66-
- telefonbuch
67108

68109
---
69110
spring:

src/main/resources/templates/appswitcher.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<style>
44
nav {
55
display: grid;
6-
grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
6+
grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
77
justify-items: center;
88
align-items: center;
99

0 commit comments

Comments
 (0)