Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Jan 22, 2024
1 parent f69619f commit 8b92d62
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion site/static/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ async function getSpec(el: d3.BaseType) {
const spec = await (await fetch(fullUrl)).text();
renderExample(sel, spec, figureOnly);
} catch (e) {
sel.html(`Could not load spec: ${e}. Please report this issue on <a href="https://github.com/vega/vega-lite/issues/new/choose">GitHub</a>.`).classed('error', true);
sel
.html(
`Could not load spec: ${e}. Please report this issue on <a href="https://github.com/vega/vega-lite/issues/new/choose">GitHub</a>.`
)
.classed('error', true);
console.error(e);
}
} else {
Expand Down
12 changes: 6 additions & 6 deletions site/static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ footer {
min-height: 40px;
}

footer>div {
footer > div {
display: flex;
align-items: center;
justify-content: space-between;
Expand Down Expand Up @@ -358,7 +358,7 @@ nav a:hover {
margin-top: 0.3em;
}

nav>.dropdown {
nav > .dropdown {
flex: 0 0 auto;
margin: 0 20px 0px -20px;
cursor: pointer;
Expand Down Expand Up @@ -442,7 +442,7 @@ footer .edit-page {
align-items: stretch;
}

.lead-columns>span:first-child {
.lead-columns > span:first-child {
margin-right: 60px;
}

Expand Down Expand Up @@ -799,19 +799,19 @@ nav .dropdown-content a {
padding-left: 20px;
}

nav>.dropdown:hover .dropdown-content {
nav > .dropdown:hover .dropdown-content {
display: block;
box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
}

nav>.dropdown:hover a {
nav > .dropdown:hover a {
background-color: #e2e2e2;
color: #666;
position: relative;
z-index: 10;
}

nav>.dropdown:hover a:hover {
nav > .dropdown:hover a:hover {
color: #000;
}

Expand Down

0 comments on commit 8b92d62

Please sign in to comment.