How to manage weird screen resolution ?

Hello,
My game was designed at the beinning for 1920*1080 screen size and released in 2018.
The last 12 months we got feedbacks about screen resolution issue.
By default we have this resolution:

For smartphone like samsung S9 (2960*144)

And for example huawei mate lite (2340*1080)


All canvas I use are “Scale with screen size” and “Match width or Height”.

Please, how could I do make my canvas of non 1920*1080 resolution, to fit the screen ?

Thanks in advance.

Put the anchors in the corners.

I finally find this script : Controlling Aspect Ratio in Unity
Did the job