Skip to content

Commit

Permalink
feat: add simple arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 13, 2020
1 parent 23be104 commit 71e4213
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,9 @@ export class MarkdownRenderComponent implements OnInit, OnChanges {
}
}

cols += `<div class="process-step-column"><div class="process-title">${title}</div><div class="process-body">${itemsStr}</div></div>`;
cols += `<div class="process-step-column">
<div class="process-title">${title}</div><div class="process-body">${itemsStr}</div>
</div>`;
}

return `<div class="markdown-process-step">${cols}</div>`;
Expand Down
3 changes: 3 additions & 0 deletions src/assets/resources/images/arrow-right-thin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/styles/_markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,8 @@
font-size: 1.2em;
line-height: 1.5em;
margin-top: 1em;

background: url("/assets/resources/images/arrow-right-thin.svg") no-repeat center right 10px;
}

.process-body {
Expand All @@ -616,7 +618,7 @@

.process-step-item {
margin-top: 0.4em;
padding: 0.5em 1em;
padding: 0.5em 0.2em;
border-left: 1px solid #222;
border-right: 1px solid #222;
border-top: 1px solid #222;
Expand Down

0 comments on commit 71e4213

Please sign in to comment.