Skip to content

Commit

Permalink
MDL-77375 theme: Re-fix the bootstrap scrollbar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rezaies committed Jun 30, 2023
1 parent 8dbb618 commit d30d229
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
13 changes: 12 additions & 1 deletion theme/boost/scss/moodle/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,20 @@ form.popupform div {

// Position required for table sizing inside a flex container.
.no-overflow > .generaltable {
position: relative;
margin-bottom: 0;
}

.no-overflow,
.table-responsive {
.generaltable {
.sr-only,
.accesshide {
position: relative;
display: block;
}
}
}

// Accessibility features

// Accessibility: text 'seen' by screen readers but not visual users.
Expand Down
9 changes: 8 additions & 1 deletion theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -23286,10 +23286,17 @@ form.popupform div {
}

.no-overflow > .generaltable {
position: relative;
margin-bottom: 0;
}

.no-overflow .generaltable .sr-only,
.no-overflow .generaltable .accesshide,
.table-responsive .generaltable .sr-only,
.table-responsive .generaltable .accesshide {
position: relative;
display: block;
}

.accesshide {
position: absolute;
width: 1px;
Expand Down
9 changes: 8 additions & 1 deletion theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -23286,10 +23286,17 @@ form.popupform div {
}

.no-overflow > .generaltable {
position: relative;
margin-bottom: 0;
}

.no-overflow .generaltable .sr-only,
.no-overflow .generaltable .accesshide,
.table-responsive .generaltable .sr-only,
.table-responsive .generaltable .accesshide {
position: relative;
display: block;
}

.accesshide {
position: absolute;
width: 1px;
Expand Down

0 comments on commit d30d229

Please sign in to comment.