Skip to content

Commit

Permalink
Remove temp registry .highlight style override
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Apr 30, 2024
1 parent a685eda commit e633692
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
28 changes: 0 additions & 28 deletions assets/scss/_registry.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,3 @@
.registry-entry {
@extend .shadow;
}

// fix me: the registry seems not to load the main.min.css with the extended
// styles, so we need to define the styles here again.
.highlight {
margin: 1rem 0;
padding: 0;
position: relative;
max-width: 95%;
border: var(--bs-card-border-width) solid var(--bs-card-border-color);
border-radius: var(--bs-card-border-radius);
& pre {
padding: 1rem;
margin: 0;
display: block;
text-align: right;
overflow-y: auto;
& button.td-click-to-copy {
position: absolute;
color: #ced4da;
border-radius: 3px;
border-width: 0;
background-color: inherit;
box-shadow: 1px 1px #ced4da;
right: 4px;
top: 2px;
}
}
}
2 changes: 1 addition & 1 deletion content/en/ecosystem/registry/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ aliases: [/registry/*]
type: default
layout: registry
outputs: [html, json]
body_class: registry
body_class: registry td-content
weight: 20
---

Expand Down

0 comments on commit e633692

Please sign in to comment.