remove course list bottom padding (#4497)

to mimic chat list and allow each scrollable widget to reach the bottom of the screen
This commit is contained in:
avashilling 2025-10-22 14:11:22 -04:00 committed by GitHub
parent 985fa079b8
commit c962c56cb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View file

@ -41,7 +41,8 @@ class PangeaRoomDetailsView extends StatelessWidget {
const Center(child: BackButton()),
),
body: Padding(
padding: const EdgeInsetsGeometry.all(16.0),
padding: const EdgeInsetsGeometry.only(
top: 16.0, left: 16.0, right: 16.0),
child: MaxWidthBody(
maxWidth: 900,
showBorder: false,

View file

@ -51,9 +51,10 @@ class CourseChatsView extends StatelessWidget {
final isColumnMode = FluffyThemes.isColumnMode(context);
return Padding(
padding: isColumnMode
? const EdgeInsets.symmetric(
vertical: 12.0,
horizontal: 8.0,
? const EdgeInsets.only(
top: 12.0,
left: 8.0,
right: 8.0,
)
: const EdgeInsets.all(0.0),
child: ListView.builder(