Repository navigation
ADFA-5346 fix(ui): give the module-detail pinned action bottom spacing - #502
Merged
Merged
Conversation
…g (Rebuild flush to edge) On the Dashboard (and any module) detail, the pinned Rebuild/Schedule button sat flush against the bottom edge: its bottom spacing came from the sibling 'Install now' button's marginBottom, which is GONE on the dashboard (install_now hidden), and the zero button insets left nothing below it. Move the spacing to the root container (paddingBottom 16dp, matching the app's other pinned CTAs) so the last visible action always clears the edge regardless of which buttons show; drop install_now's now-redundant marginBottom. Checked the other pinned-bottom CTAs — maps_choose / kolibri_topics / kolibri_confirm have container paddingBottom, and the confirm screens scroll with inner padding, so they're fine. activity_qr is a legacy non-M3 screen (separate).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On the Dashboard (and any module) detail, the pinned Rebuild/Schedule button sat flush against the bottom edge: its bottom spacing came from the sibling 'Install now' button's marginBottom, which is GONE on the dashboard (install_now hidden), and the zero button insets left nothing below it.
Move the spacing to the root container (paddingBottom 16dp, matching the app's other pinned CTAs) so the last visible action always clears the edge regardless of which buttons show; drop install_now's now-redundant marginBottom.
Checked the other pinned-bottom CTAs — maps_choose / kolibri_topics / kolibri_confirm have container paddingBottom, and the confirm screens scroll with inner padding, so they're fine. activity_qr is a legacy non-M3 screen (separate).