fix typos/whitespace

pull/1504/head
Cory LaViska 2023-08-11 10:30:40 -04:00
rodzic c36df5ecc1
commit e21943f4fb
3 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -51,6 +51,7 @@
"erroneou", "erroneou",
"errormessage", "errormessage",
"esbuild", "esbuild",
"exportmaps",
"exportparts", "exportparts",
"fieldsets", "fieldsets",
"formaction", "formaction",
@ -152,6 +153,7 @@
"tinycolor", "tinycolor",
"transitionend", "transitionend",
"treeitem", "treeitem",
"treeshaking",
"Triaging", "Triaging",
"turbolinks", "turbolinks",
"typeof", "typeof",

Wyświetl plik

@ -1066,23 +1066,29 @@ html.sidebar-open #menu-toggle {
/* Hide when not defined to prevent extra wide icon toolbar while loading */ /* Hide when not defined to prevent extra wide icon toolbar while loading */
display: none; display: none;
} }
#theme-selector sl-menu { #theme-selector sl-menu {
/* Set an initial size to prevent width being initally too small when first opening on small screen width */ /* Set an initial size to prevent width being too small when first opening on small screen width */
width: 140px; width: 140px;
} }
#theme-selector sl-button { #theme-selector sl-button {
transition: 250ms scale ease; transition: 250ms scale ease;
} }
#theme-selector sl-button::part(base) { #theme-selector sl-button::part(base) {
color: var(--sl-color-neutral-0); color: var(--sl-color-neutral-0);
} }
#theme-selector sl-button::part(label) { #theme-selector sl-button::part(label) {
display: flex; display: flex;
padding: 0.5rem; padding: 0.5rem;
} }
#theme-selector sl-icon { #theme-selector sl-icon {
font-size: 1.25rem; font-size: 1.25rem;
} }
.sl-theme-dark #theme-selector sl-button::part(base) { .sl-theme-dark #theme-selector sl-button::part(base) {
color: var(--sl-color-neutral-1000); color: var(--sl-color-neutral-1000);
} }

Wyświetl plik

@ -33,7 +33,7 @@ function stubCustomElements() {
return; return;
} }
// Assign it a random string so it doesnt pollute globally. // Assign it a random string so it doesn't pollute globally.
const randomTagName = str + '-' + counter.toString(); const randomTagName = str + '-' + counter.toString();
counter++; counter++;
stub.wrappedMethod.apply(window.customElements, [randomTagName, ctor]); stub.wrappedMethod.apply(window.customElements, [randomTagName, ctor]);