Skip to content

Commit

Permalink
corrected bug in wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Nov 27, 2023
1 parent 9589036 commit 8844a62
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions analytics-ui/src/sample/editor/editor-stepper.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pre {
font-size: 16px;
line-height: 16px;
max-height: 700px;
font-size: var(--c8y-font-size-base);
}

pre span.line {
Expand All @@ -36,6 +37,10 @@ pre span.line::before {
line-height: 16px;
}

.padding-editor{
padding: 96px;;
}

/* pre span.line:nth-child(odd)::before {
background-color: #555;
} */
10 changes: 5 additions & 5 deletions analytics-ui/src/sample/editor/editor-stepper.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<c8y-stepper
class="flex-col flex-nowrap no-align-items fit-h c8y-stepper--no-btns"
[disableDefaultIcons]="{ edit: true, done: true }"
[hideStepProgress]="'false'"

[customClasses]="[
'col-md-6',
'col-md-offset-3',
Expand All @@ -38,17 +38,17 @@
<span [c8yIcon]="'hand-peace-o'"></span>
</ng-template>

<cdk-step label="Show source code">
<div class="p-16 p-t-48 flex-no-shrink separator-bottom">
<cdk-step label="Show source code" state="final">
<div class="padding-editor flex-no-shrink separator-bottom">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<div class="col-lg-10 col-lg-offset-1">
<!-- <textarea rows="30" cols="120" class="numbered">
{{source}}
</textarea> -->
<pre id= "sourceEditor" #sourceEditor>
{{source}}
</pre>
</div>
</div>
</div>
</div>
<c8y-stepper-buttons
Expand Down

0 comments on commit 8844a62

Please sign in to comment.