Disallow invalid inline style comments in stylesheets (#9099)

This commit is contained in:
Germain 2022-07-27 14:39:29 +01:00 committed by GitHub
parent 8eeeee1aa2
commit 72c24af5c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
193 changed files with 1520 additions and 1518 deletions

View file

@ -14,12 +14,12 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// make any scrollbar grey and thin
/* make any scrollbar grey and thin */
html {
scrollbar-color: $scrollbar-thumb-color transparent;
}
// scrollbar-width is not inherited (but -color is, why?!),
// so declare it on every element
/* scrollbar-width is not inherited (but -color is, why?!), */
/* so declare it on every element */
* {
scrollbar-width: thin;
}
@ -34,7 +34,7 @@ html {
background-color: $scrollbar-thumb-color;
}
// make auto-hide scrollbars not transparent again on hover
/* make auto-hide scrollbars not transparent again on hover */
.mx_AutoHideScrollbar:hover {
scrollbar-color: $scrollbar-thumb-color transparent;
@ -43,11 +43,11 @@ html {
}
}
// make scrollbars transparent for autohide scrollbars
/* make scrollbars transparent for autohide scrollbars */
.mx_AutoHideScrollbar {
overflow-x: hidden;
overflow-y: auto;
overflow-y: overlay; // where supported
overflow-y: overlay; /* where supported */
-ms-overflow-style: -ms-autohiding-scrollbar;
&::-webkit-scrollbar {