File tree Expand file tree Collapse file tree
template/default/tracking Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 position: " bottom" ,
3737 title: {
3838 display: true ,
39- text: ' {{ "Students "|get_lang|e(' js' ) }}'
39+ text: ' {{ "Learners "|get_lang|e(' js' ) }}'
4040 },
4141 ticks: { display: false },
4242 min: 0
8787 x: {
8888 position: " bottom" ,
8989 title: {
90- text: " {{ 'PercentileScoresDistribution '|get_lang|e('js') }}" ,
90+ text: " {{ 'Percentile scores distribution '|get_lang|e('js') }}" ,
9191 display: true
9292 },
9393 gridLines: { display: true },
165165 grid-template-columns : 1fr ;
166166 }
167167 }
168+
169+ /* Top students: avatar + name should be on the same row */
170+ .tracking-top-student .list-top {
171+ list-style : none ;
172+ padding : 0 ;
173+ margin : 0 ;
174+ }
175+
176+ .tracking-top-student .list-top li {
177+ display : flex ;
178+ align-items : flex-start ;
179+ gap : 12px ;
180+ padding : 10px 0 ;
181+ border-bottom : 1px solid #f3f4f6 ;
182+ }
183+
184+ .tracking-top-student .list-top li :last-child {
185+ border-bottom : 0 ;
186+ }
187+
188+ .tracking-top-student .list-top .avatar {
189+ flex : 0 0 44px ;
190+ }
191+
192+ .tracking-top-student .list-top .avatar img {
193+ width : 40px ;
194+ height : 40px ;
195+ border-radius : 999px ;
196+ display : block ;
197+ object-fit : cover ;
198+ }
199+
200+ .tracking-top-student .list-top .info {
201+ flex : 1 1 auto ;
202+ min-width : 0 ;
203+ }
204+
205+ .tracking-top-student .list-top .name {
206+ margin : 0 0 6px 0 ;
207+ font-size : 18px ;
208+ font-weight : 700 ;
209+ line-height : 1.2 ;
210+ }
211+
212+ .tracking-top-student .list-top .progress {
213+ margin : 0 ;
214+ }
168215</style >
169216
170217<div class =" tracking-course-summary" >
You can’t perform that action at this time.
0 commit comments