Skip to content

Commit

Permalink
fixed Content Copy icon (#1927)
Browse files Browse the repository at this point in the history
Co-authored-by: Taron Chatoyan <[email protected]>
  • Loading branch information
t-chatoyan and Taron Chatoyan authored Nov 4, 2024
1 parent 05fe69d commit e8f0ee0
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion components/blueprints/Detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="row">
<div class="col-md-10">
<h3>Source</h3>
<div class="mt-4 relative code mb-3" :class="{ hide: hideCode }">
<div class="mt-4 relative code mb-3 main-code-block" :class="{ hide: hideCode }">
<ContentRendererMarkdown
class="bd-markdown"
:value="flow"
Expand Down Expand Up @@ -143,6 +143,22 @@ export default {
}
}
.main-code-block {
:deep(.bd-markdown) {
.code-block {
.language {
top: unset !important;
bottom: 0.5rem !important;
}
.copy {
top: 0.5rem !important;
bottom: unset !important;
}
}
}
}
:deep(.bd-markdown) {
color: $white;
Expand Down

0 comments on commit e8f0ee0

Please sign in to comment.