Skip to content

OverlaySheet: Check if isMobile to set footer extra margin

Ismael Asensio requested to merge work/iasensio/overlaysheet-extramargin into master

On mobile platform and under certain conditions we need an extra margin so the overlay sheet goes above the mobile controls.

Add Settings.isMobile to this conditions so it doesn't apply it on desktop in some scenarios.

This fixes, for instance, this margin on Plasma Configuration Window for Digital Clock > Time Zones > Add More Time Zones

timezones-extramargin

Settings.isMobile is used widely elsewhere, but it would need some testing to ensure it doesn't break the use case on mobile.

Edited by Ismael Asensio

Merge request reports