Skip to content

Commit

Permalink
fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
s-tittel committed Aug 5, 2024
1 parent 3e94ad6 commit 9f7ef3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>&lt;shacl-form&gt; demo</title>
<link rel="stylesheet" href="./style.css">
<!-- "@ulb-darmstadt/shacl-form": "https://cdn.jsdelivr.net/npm/@ulb-darmstadt/shacl-form@1.4.8/dist/" -->
<!-- "@ulb-darmstadt/shacl-form": "https://cdn.jsdelivr.net/npm/@ulb-darmstadt/shacl-form@1.5.2/dist/" -->
<!-- "@ulb-darmstadt/shacl-form": "./" -->
<script type="importmap">
{
"imports": {
"@ulb-darmstadt/shacl-form/": "https://cdn.jsdelivr.net/npm/@ulb-darmstadt/shacl-form@1.5.0/dist/"
"@ulb-darmstadt/shacl-form/": "https://cdn.jsdelivr.net/npm/@ulb-darmstadt/shacl-form@1.5.2/dist/"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ a, a:visited { color: inherit; }
.collapsible.open > .activator::after { transform: rotate(225deg); }
.collapsible > *:not(.activator) { transition: all 0.2s ease-out; opacity: 1; }
.collapsible:not(.open) > *:not(.activator) { max-height: 0; padding: 0; opacity: 0; overflow: hidden; }
.collapsible shacl-node > h1 { display: none; }
.collapsible > .property-instance > shacl-node > h1 { display: none; }
.collapsible.open > .property-instance:nth-child(odd) { background-color: #F5F5F5; }
.ref-link { cursor: pointer; }
.ref-link:hover { text-decoration: underline; }
Expand Down

0 comments on commit 9f7ef3b

Please sign in to comment.