Skip to content

Commit

Permalink
fix typos/whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Aug 11, 2023
1 parent c36df5e commit e21943f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"erroneou",
"errormessage",
"esbuild",
"exportmaps",
"exportparts",
"fieldsets",
"formaction",
Expand Down Expand Up @@ -152,6 +153,7 @@
"tinycolor",
"transitionend",
"treeitem",
"treeshaking",
"Triaging",
"turbolinks",
"typeof",
Expand Down
8 changes: 7 additions & 1 deletion docs/assets/styles/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -1066,23 +1066,29 @@ html.sidebar-open #menu-toggle {
/* Hide when not defined to prevent extra wide icon toolbar while loading */
display: none;
}

#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;
}

#theme-selector sl-button {
transition: 250ms scale ease;
}

#theme-selector sl-button::part(base) {
color: var(--sl-color-neutral-0);
}

#theme-selector sl-button::part(label) {
display: flex;
padding: 0.5rem;
}

#theme-selector sl-icon {
font-size: 1.25rem;
}

.sl-theme-dark #theme-selector sl-button::part(base) {
color: var(--sl-color-neutral-1000);
}
Expand Down
2 changes: 1 addition & 1 deletion src/internal/shoelace-element.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function stubCustomElements() {
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();
counter++;
stub.wrappedMethod.apply(window.customElements, [randomTagName, ctor]);
Expand Down

0 comments on commit e21943f

Please sign in to comment.