Skip to content

Commit

Permalink
feat(docs): lost code alert (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
Margar1ta authored and pimenovoleg committed Oct 11, 2019
1 parent 7e4a862 commit 3d6ede1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.main {}
.main {
display: flex;
height: 100%;
}

.content {
margin: {
Expand Down
10 changes: 6 additions & 4 deletions packages/docs/src/app/shared/example-viewer/example-viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@
</div>

<ng-template #lostExample>
<p class="docs-example-viewer__lost-example">Oops, this code example is lost... But you can help us find it!
Just send a Pull Request to this repository:
<a class="docs-markdown__a" href="https://github.com/positive-js/mosaic.">Mosaic</a>
</p>
<div class="mc-alert mc-alert_error mc-alert_dismissible">
<span>Oops, this code example is lost... But you can help us find it!
Just send a Pull Request to this repository:
<a class="docs-markdown__a" href="//github.com/positive-js/mosaic/pulls"> Mosaic</a>
</span>
</div>
</ng-template>
</div>
2 changes: 2 additions & 0 deletions packages/docs/src/styles/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ html {
// 1. remove the margin in all browsers.

body {
display: flex;
height: 100vh;
font-family: map-get(map-get($fonts, 'base'), font-family);
margin: 0; // 1
}
Expand Down

0 comments on commit 3d6ede1

Please sign in to comment.