Skip to content

Commit

Permalink
Need to set height in app.component.css
Browse files Browse the repository at this point in the history
  • Loading branch information
ramtob authored Jan 1, 2019
1 parent a1e2421 commit 28f179a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,19 @@ export class AppComponent {
constructor(protected ansynApi: AnsynApi) {
}
}
```

on `app.component.css`:

The element `ansyn-app` has to receive height. It can be explicit height, or implicit like "display:flex" + "flex:1"
For example:

```
ansyn-app {
display: block;
height: 500px;
border: 1px solid darkgreen;
}
```

In folder `src/assets` create file `app.config.json` (copy from example...)
In folder `src/assets` create file `app.config.json` (copy from @ansyn/assets/config ?)

0 comments on commit 28f179a

Please sign in to comment.