From 5b50a15a9dc5e499ab304f7edf60010702ac5dbb Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Thu, 19 Oct 2023 14:09:57 +0100 Subject: [PATCH] MDL-79783 theme_boost: remove form-check padding inside table cells. --- theme/boost/scss/moodle/tables.scss | 3 +++ theme/boost/style/moodle.css | 4 ++++ theme/classic/style/moodle.css | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/theme/boost/scss/moodle/tables.scss b/theme/boost/scss/moodle/tables.scss index 1fe2e6e24c6..d4e2233bf53 100644 --- a/theme/boost/scss/moodle/tables.scss +++ b/theme/boost/scss/moodle/tables.scss @@ -9,6 +9,9 @@ padding: $table-cell-padding; vertical-align: top; border-top: $table-border-width solid $table-border-color; + .form-check { + padding: 0; + } } thead th, diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 2539d6efa06..2d8e6466dcb 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -35187,6 +35187,10 @@ img.userpicture { vertical-align: top; border-top: 1px solid #dee2e6; } +.generaltable th .form-check, +.generaltable td .form-check { + padding: 0; +} .generaltable thead th, .generaltable thead td { vertical-align: bottom; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index e4c166167f8..8da42103b09 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -35187,6 +35187,10 @@ img.userpicture { vertical-align: top; border-top: 1px solid #dee2e6; } +.generaltable th .form-check, +.generaltable td .form-check { + padding: 0; +} .generaltable thead th, .generaltable thead td { vertical-align: bottom;