微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

角度完整日历 - 路由器插座内高度减半

如何解决角度完整日历 - 路由器插座内高度减半

这是 Angular full calendar + bootstrap 4 - how should I use them together? 的延续。

当我直接在我的 html 中使用 fullcalendar 时,它会按预期呈现。当我在路由器插座内使用它时,它会将高度减半。

<div class="container">
  <app-child></app-child> -----> This component has full-calendar,renders correctly
  <router-outlet></router-outlet> -----> This is mapped to app-child -> full-calendar,height of calendar is cut into half
</div>

代码副本在这里 https://stackblitz.com/edit/angular-bootstrap-4-starter-ouhs2k?file=src/app/app.component.html

请在全屏/新窗口中查看并单击按钮查看渲染的路由器插座。

提前致谢。

(Angular ver 2,完整日历 ver 4.4)

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。