Pierre-Yves Dufays
c46c60d398
[FIX] website_profile: fix karma wheel layout
...
How to reproduce:
- Install "French" for the website
- log out and log in as demo
- Go to the front-end and click on "Courses"
The design of the karma wheel is broken because the translation for
"Get 7.5k< xp to level up!" displayed in the wheel is too large ("Obtenez 7.5k
xp pour passer au niveau supérieur"). While in French the text go outside the
wheel and it appears clearly broken, it is also the case in English as the rank
name is hidden due to the length of the text (for example when gaining one
karma: 7.49k is displayed instead of 7.5k which takes more place).
To avoid modifying the template "profile_next_rank_card" that could break
community overrides, we solve this problem in css by increasing the karma
wheel size and the precentage of width occupied by the text inside the wheel.
We also reduce the vertical margin between the rank name and the descriptive
text and reduce the line height to avoid the text to overlap with the wheel.
And if the text is still too large for some language it will be truncated and
an ellipsis will be used.
Technical note: we do the change in website_profile.scss (and not in
website_slides.scss) because it applies to both karma wheel: the one on course
home page and the one in the profile page.
Task-3617054
X-original-commit: f32eabf55db4db4d46b45032c76bfa17dfce475f
Part-of: odoo/odoo#157655
2024-03-14 15:43:45 +00:00
..
2024-03-14 14:02:07 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-11 16:37:34 +00:00
2024-03-10 00:13:03 +01:00
2024-03-11 15:03:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-12 10:34:53 +00:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-14 11:12:28 +00:00
2024-02-12 20:24:09 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-13 10:54:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-12 10:34:47 +00:00
2024-03-10 00:13:03 +01:00
2024-03-11 16:37:34 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-13 10:54:05 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-13 09:14:09 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-13 09:14:09 +00:00
2024-03-10 00:13:03 +01:00
2024-03-14 15:43:45 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-11 08:35:07 +00:00
2024-03-12 16:59:03 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-13 16:46:46 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-12 08:15:41 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-11 16:37:34 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-01 12:10:28 +00:00
2024-01-29 23:16:20 +00:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-12 15:08:30 +00:00
2024-03-10 00:13:03 +01:00
2024-03-05 20:53:25 +00:00
2024-02-29 20:40:36 +00:00
2024-03-07 11:40:25 +00:00
2024-02-29 10:34:16 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-03-01 12:10:26 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-03-07 23:41:54 +00:00
2024-03-11 16:37:34 +00:00
2024-02-29 20:40:36 +00:00
2024-03-08 12:49:02 +00:00
2024-02-23 13:10:03 +00:00
2024-02-23 13:10:03 +00:00
2024-02-28 08:15:23 +00:00
2024-03-13 09:14:14 +00:00
2024-02-23 13:10:03 +00:00
2024-02-29 20:40:36 +00:00
2024-02-05 12:20:56 +00:00
2024-02-19 12:27:48 +00:00
2024-02-03 02:06:43 +00:00
2024-02-17 00:25:58 +00:00
2024-02-29 20:40:36 +00:00
2024-03-14 08:06:24 +00:00
2024-02-13 20:52:18 +00:00
2024-02-13 20:52:18 +00:00
2024-02-07 18:34:22 +00:00
2024-03-07 15:12:17 +00:00
2024-03-08 11:17:48 +00:00
2024-02-23 13:09:53 +00:00
2024-03-07 05:07:08 +00:00
2024-02-29 20:40:36 +00:00
2024-03-04 08:11:59 +00:00
2024-02-29 20:40:36 +00:00
2024-03-07 15:12:15 +00:00
2024-02-29 19:00:43 +00:00
2024-02-16 02:01:35 +00:00
2024-03-04 08:11:57 +00:00
2024-03-14 15:43:44 +00:00
2024-03-14 08:06:24 +00:00
2024-03-05 18:06:27 +00:00
2024-03-08 12:48:55 +00:00
2024-03-11 15:03:07 +00:00
2024-03-13 14:03:10 +00:00
2024-02-02 10:50:51 +00:00
2024-03-11 16:37:34 +00:00
2024-03-08 11:17:47 +00:00
2024-02-29 20:40:36 +00:00
2024-03-14 08:06:26 +00:00
2024-02-22 09:06:12 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-03-06 14:30:37 +00:00
2024-03-11 16:37:32 +00:00
2024-01-26 09:13:03 +00:00
2024-02-16 08:58:21 +00:00
2024-02-29 20:40:36 +00:00
2024-02-28 19:49:05 +00:00
2024-03-11 10:17:46 +00:00
2024-02-29 20:40:36 +00:00
2024-03-11 10:17:50 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-02-29 20:40:36 +00:00
2024-01-26 09:13:08 +00:00
2024-01-26 21:07:50 +00:00
2024-03-13 14:03:11 +00:00
2024-02-29 20:40:36 +00:00
2024-03-06 14:30:35 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-12 10:34:49 +00:00
2024-03-10 00:13:03 +01:00
2024-03-11 16:37:34 +00:00
2024-03-12 10:34:47 +00:00
2024-03-10 00:13:03 +01:00
2024-03-12 10:34:47 +00:00
2024-03-12 11:55:39 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-13 09:14:08 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-13 09:14:08 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-13 09:14:08 +00:00
2024-03-12 10:34:50 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-11 11:55:10 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-11 17:53:36 +00:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-11 16:37:34 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-07 08:25:54 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-12 21:35:08 +00:00
2024-02-06 18:49:02 +00:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-12 16:59:03 +00:00
2024-03-12 16:59:03 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-12 16:59:03 +00:00
2024-03-12 16:59:03 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-11 16:37:34 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-12 16:59:03 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-02-27 17:40:50 +00:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-12 10:34:44 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-14 06:39:31 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-13 07:45:45 +00:00
2024-03-14 15:43:42 +00:00
2024-03-13 10:54:05 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-12 16:59:06 +00:00
2024-03-10 00:13:03 +01:00
2024-03-11 16:37:34 +00:00
2024-03-06 14:30:38 +00:00
2024-02-15 18:21:31 +00:00
2024-03-13 09:14:09 +00:00
2024-03-12 01:50:05 +00:00
2024-02-28 19:49:12 +00:00
2024-01-24 23:07:09 +00:00
2024-02-19 15:02:20 +00:00
2024-03-07 11:40:24 +00:00
2024-02-26 21:22:46 +00:00
2024-01-22 19:00:58 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-14 08:06:21 +00:00
2024-03-14 11:12:31 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-14 11:12:33 +00:00
2024-03-13 21:09:53 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-13 14:03:13 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-11 16:37:37 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-14 15:43:45 +00:00
2024-03-12 16:59:07 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-02-06 18:49:02 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-14 15:43:45 +00:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00
2024-03-10 00:13:03 +01:00