Skip to content

Commit

Permalink
style(DiagramFrame): remove relative positioning and add pointer-even…
Browse files Browse the repository at this point in the history
…ts none to critical fragment

Allowing click on collapse button.
  • Loading branch information
MrCoder committed Jan 10, 2025
1 parent e7fc9a9 commit 1d6b324
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:data-left-participant="leftParticipant"
:data-frame-padding-left="border.left"
:data-frame-padding-right="border.right"
class="fragment critical border-skin-fragment rounded relative"
class="fragment critical border-skin-fragment rounded"
:style="fragmentStyle"
>
<div class="segment">
Expand Down Expand Up @@ -55,7 +55,7 @@ import fragment from "./FragmentMixin";
import Numbering from "../../../Numbering.vue";
export default {
name: "fragment-section",
name: "fragment-critical",
components: { Numbering },
props: ["context", "comment", "commentObj", "number"],
mixins: [fragment],
Expand Down Expand Up @@ -92,6 +92,7 @@ export default {
bottom: 0;
left: 0;
border: 1px solid;
pointer-events: none;
}
.critical .header::before {
Expand All @@ -102,5 +103,6 @@ export default {
bottom: 0;
left: 0;
border-bottom: 2px solid;
pointer-events: none;
}
</style>

0 comments on commit 1d6b324

Please sign in to comment.