|
93aed87265
|
bootstrap: fix minor issues with profile picture cropping
* Add required [1] "display: block;" style property to img element
* Fix image overflow in modal. As cropper size inherits from img's parent element [2] (including padding according to my research), we need to wrap modal body into another div that has the padding we want.
* Remove ability [3] to click away to dismiss the modal as it often interfered with user interaction when cropping.
[1] https://github.com/fengyuanchen/cropperjs/tree/v1?tab=readme-ov-file#example
[2] https://github.com/fengyuanchen/cropperjs/tree/v1?tab=readme-ov-file#notes
[3] https://getbootstrap.com/docs/4.0/components/modal/#options
Signed-off-by: Alexis Mercier des Rochettes <apernouille@gmail.com>
|
2025-03-24 17:36:30 +01:00 |
|
|
925e0f26f5
|
Allow you to delete the profile picture
|
2024-07-13 17:37:19 +02:00 |
|
|
eb4641ed35
|
Upload button wasn't translated
|
2020-09-06 12:35:59 +02:00 |
|
|
15ed9d81d5
|
Check image size before sending it
|
2020-09-06 12:16:36 +02:00 |
|
|
dd9ca315fa
|
Clean up templates header
|
2020-09-01 10:20:16 +02:00 |
|
|
e3785e11f1
|
Cards everywhere in member app
|
2020-08-25 16:30:02 +02:00 |
|
|
2e659c63cd
|
Member templates inherit from member/base.html
|
2020-08-25 15:39:57 +02:00 |
|
|
7b40ee1ca4
|
Reorder templates
|
2020-08-09 19:06:57 +02:00 |
|