@mjsz-vbr-elements/shared 2.40.2 → 2.40.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -430,8 +430,8 @@
430
430
  grid-area: details;
431
431
 
432
432
  display: grid;
433
- grid-template-columns: auto 1fr;
434
- grid-template-areas: 'type-icon detail-title' 'type-icon detail-list';
433
+ grid-template-columns: auto 1fr auto;
434
+ grid-template-areas: 'type-icon . team-logo' 'detail-title detail-title detail-title' 'detail-list detail-list detail-list';
435
435
  column-gap: var(--size-16);
436
436
  padding: var(--size-16);
437
437
  border-inline-end: 5px solid var(--mvw-gamecenter-home-team-identifier-color);
@@ -441,7 +441,7 @@
441
441
  outline: 1px solid var(--mvw-gamecenter-card-border-color);
442
442
 
443
443
  &:not(:has(.is-details-list)) {
444
- grid-template-areas: 'type-icon detail-title';
444
+ grid-template-areas: 'type-icon . team-logo' 'detail-title detail-title detail-title';
445
445
  align-items: center;
446
446
  }
447
447
 
@@ -479,7 +479,7 @@
479
479
  .is-team-logo {
480
480
  grid-area: team-logo;
481
481
 
482
- display: none;
482
+ /* display: none; */
483
483
 
484
484
  justify-self: center;
485
485
  align-self: center;
@@ -110,14 +110,14 @@
110
110
  }
111
111
 
112
112
  :where(.gamecenter-game-event) {
113
- --cols: 1fr 1fr 1fr 1fr 1fr 1fr 6fr;
113
+ --cols: 1fr minmax(56px, 1fr) auto 1fr 1fr 1fr 6fr;
114
114
  display: grid;
115
115
  grid-template-columns: var(--cols);
116
116
  align-items: center;
117
117
  color: var(--mvw-text-default);
118
118
 
119
119
  @container rows (max-width: 500px) {
120
- --cols: 1fr 1fr 1fr 1fr 1fr 1fr;
120
+ --cols: 1fr auto auto 1fr 1fr 1fr;
121
121
 
122
122
  > *:last-of-type {
123
123
  grid-column: 2/7;
@@ -129,7 +129,7 @@
129
129
  }
130
130
 
131
131
  > * {
132
- padding: var(--size-12);
132
+ padding: var(--size-8);
133
133
  }
134
134
 
135
135
  .is-team-logo-cell {
@@ -182,6 +182,7 @@
182
182
  .is-penalty-cell {
183
183
  font-size: var(--mvw-gamecenter-events-penalty-size);
184
184
  text-align: center;
185
+ white-space: nowrap;
185
186
  }
186
187
 
187
188
  .is-score {
@@ -135,4 +135,40 @@
135
135
  }
136
136
  }
137
137
  }
138
+ :where(.unordered-list) {
139
+ display: grid;
140
+ align-items: center;
141
+
142
+ li {
143
+ display: flex;
144
+ align-items: center;
145
+ gap: var(--size-4);
146
+ color: var(--mvw-text-default);
147
+ padding: var(--size-6) var(--size-4);
148
+ }
149
+
150
+ li:not(:first-child) {
151
+ border-top: 1px solid var(--mvw-border-muted);
152
+ }
153
+
154
+ &.centered {
155
+ li {
156
+ justify-content: center;
157
+ }
158
+ }
159
+
160
+ @media (width > 500px) {
161
+ display: flex;
162
+
163
+ li:not(:first-child) {
164
+ border-top: none;
165
+ }
166
+
167
+ li:not(:first-of-type):before {
168
+ content: '/';
169
+ margin-inline-end: var(--size-6);
170
+ color: var(--mvw-border-muted);
171
+ }
172
+ }
173
+ }
138
174
  }
@@ -32,6 +32,7 @@
32
32
 
33
33
  .is-title-text {
34
34
  svg {
35
+ display: inline-block;
35
36
  height: 16px;
36
37
  vertical-align: middle;
37
38
  }
@@ -129,6 +129,10 @@
129
129
  backdrop-filter: blur(10px);
130
130
  }
131
131
 
132
+ .justify-center {
133
+ justify-items: center;
134
+ }
135
+
132
136
  /* Layout */
133
137
  .grid-container {
134
138
  --min-width: 230px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mjsz-vbr-elements/shared",
3
3
  "type": "module",
4
- "version": "2.40.2",
4
+ "version": "2.40.4",
5
5
  "private": false,
6
6
  "author": "Ákos Stegner <akos.stegner@gmail.com>",
7
7
  "license": "MIT",