Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: removed extra space on the course tab #271

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

dixidroid
Copy link
Contributor

Removed extra space on the course tab in different scenarios like: with/without new design, with/without resume button, with/without Dates banner.

@omerhabib26
Copy link
Contributor

Reviewing

@@ -392,11 +389,19 @@ internal fun CourseOutlineScreen(
Box(listPadding) {
if (windowSize.isTablet) {
ResumeCourseTablet(
modifier = Modifier.padding(
top = 16.dp,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can use vertical instead of top & bottom

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

block = uiState.resumeComponent,
onResumeClick = onResumeClick
)
} else {
ResumeCourse(
modifier = Modifier.padding(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

omerhabib26
omerhabib26 previously approved these changes Mar 27, 2024
Copy link
Contributor

@omerhabib26 omerhabib26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only a minor nit

@k1rill k1rill merged commit 8f4b3b9 into openedx:develop Mar 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Empty space above the list of contents on the Course tab (if there is no Resume button)
4 participants