richie 2.34.1.dev51__py2.py3-none-any.whl → 2.34.1.dev52__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of richie might be problematic. Click here for more details.
- frontend/scss/objects/_course_glimpses.scss +6 -2
- richie/static/richie/css/main.css +1 -1
- {richie-2.34.1.dev51.dist-info → richie-2.34.1.dev52.dist-info}/METADATA +1 -1
- {richie-2.34.1.dev51.dist-info → richie-2.34.1.dev52.dist-info}/RECORD +8 -8
- {richie-2.34.1.dev51.dist-info → richie-2.34.1.dev52.dist-info}/WHEEL +0 -0
- {richie-2.34.1.dev51.dist-info → richie-2.34.1.dev52.dist-info}/licenses/LICENSE +0 -0
- {richie-2.34.1.dev51.dist-info → richie-2.34.1.dev52.dist-info}/top_level.txt +0 -0
- {richie-2.34.1.dev51.dist-info → richie-2.34.1.dev52.dist-info}/zip-safe +0 -0
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
// Course-glimpse-list related variables
|
|
6
6
|
$r-course-glimpse-gutter: 0.8rem !default;
|
|
7
|
+
$r-course-glimpse-title-line-height: 1.3em;
|
|
7
8
|
|
|
8
9
|
.course-glimpse-list {
|
|
9
10
|
@include make-container-max-widths();
|
|
@@ -174,7 +175,7 @@ $course-glimpse-content-padding-sides: 0.7rem !default;
|
|
|
174
175
|
font-family: $r-font-family-montserrat;
|
|
175
176
|
font-weight: $font-weight-boldest;
|
|
176
177
|
flex: 1 0 1.3em * 3; // 3 lines;
|
|
177
|
-
line-height:
|
|
178
|
+
line-height: $r-course-glimpse-title-line-height;
|
|
178
179
|
margin-bottom: 1rem;
|
|
179
180
|
}
|
|
180
181
|
|
|
@@ -199,11 +200,14 @@ $course-glimpse-content-padding-sides: 0.7rem !default;
|
|
|
199
200
|
}
|
|
200
201
|
|
|
201
202
|
&__title-text {
|
|
203
|
+
--max-lines: 3;
|
|
202
204
|
-webkit-box-orient: vertical;
|
|
203
|
-
-webkit-line-clamp:
|
|
205
|
+
-webkit-line-clamp: var(--max-lines);
|
|
206
|
+
line-clamp: var(--max-lines);
|
|
204
207
|
display: block;
|
|
205
208
|
display: -webkit-box;
|
|
206
209
|
overflow: hidden;
|
|
210
|
+
min-height: calc($r-course-glimpse-title-line-height * var(--max-lines));
|
|
207
211
|
}
|
|
208
212
|
|
|
209
213
|
&__link:focus &__title-text {
|