@transfermarkt/global-styles 1.38.0 → 1.40.0
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.
- package/bun.lock +1 -0
- package/package.json +1 -1
- package/scss/base/_index.scss +1 -0
- package/scss/base/{index.scss → base.scss} +18 -4
package/bun.lock
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward 'base';
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
@use '@transfermarkt/global-styles/scss/functions/tm-color' as *;
|
|
3
3
|
@use '@transfermarkt/global-styles/scss/functions/tm-font' as *;
|
|
4
4
|
@use '@transfermarkt/global-styles/scss/mixins';
|
|
5
|
-
@use '@transfermarkt/global-styles/scss/utils/components/buttons' as *;
|
|
6
5
|
@use '@transfermarkt/global-styles/scss/mixins/breakpoint' as *;
|
|
7
6
|
|
|
8
|
-
.tm-row
|
|
7
|
+
.tm-row {
|
|
9
8
|
display: flex;
|
|
10
9
|
flex-direction: column;
|
|
11
10
|
gap: rem-calc(8);
|
|
@@ -22,6 +21,7 @@
|
|
|
22
21
|
.tm-container {
|
|
23
22
|
background-color: tm-color('white');
|
|
24
23
|
border-radius: rem-calc(16);
|
|
24
|
+
container-type: inline-size;
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: column;
|
|
27
27
|
gap: rem-calc(24);
|
|
@@ -104,6 +104,13 @@
|
|
|
104
104
|
gap: initial;
|
|
105
105
|
justify-content: space-between;
|
|
106
106
|
}
|
|
107
|
+
|
|
108
|
+
@container (max-width: 340px) {
|
|
109
|
+
align-items: stretch;
|
|
110
|
+
flex-flow: column nowrap;
|
|
111
|
+
gap: rem-calc(8);
|
|
112
|
+
justify-content: flex-start;
|
|
113
|
+
}
|
|
107
114
|
}
|
|
108
115
|
|
|
109
116
|
&__addition {
|
|
@@ -114,13 +121,20 @@
|
|
|
114
121
|
font-variation-settings: 'wght' 400;
|
|
115
122
|
font-weight: initial;
|
|
116
123
|
line-height: rem-calc(24);
|
|
117
|
-
text-align:
|
|
124
|
+
text-align: left;
|
|
118
125
|
white-space: nowrap;
|
|
119
126
|
|
|
120
127
|
@include breakpoint(laptop) {
|
|
121
128
|
align-self: flex-end;
|
|
122
129
|
font-size: rem-calc(14);
|
|
123
130
|
padding: rem-calc(3) 0;
|
|
131
|
+
text-align: right;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@container (max-width: 340px) {
|
|
135
|
+
align-self: auto;
|
|
136
|
+
padding: 0;
|
|
137
|
+
text-align: left;
|
|
124
138
|
}
|
|
125
139
|
}
|
|
126
140
|
}
|
|
@@ -137,4 +151,4 @@
|
|
|
137
151
|
width: rem-calc(300);
|
|
138
152
|
}
|
|
139
153
|
}
|
|
140
|
-
}
|
|
154
|
+
}
|