2

我发现我可以使用这个 css 链接: https://unpkg.com/@blueprintjs/core@^1.11.0/dist/blueprint.cssfor blueprint。我从哪里获得datetime模块的 CSS?

目前看起来是这样的:在此处输入图像描述

4

2 回答 2

2

您必须为 DateRangeInput 导入正确的样式

@import "~normalize.css/normalize.css"; 
@import "~@blueprintjs/icons/lib/css/blueprint-icons.css"; 
@import "~@blueprintjs/core/lib/css/blueprint.css";
@import "~@blueprintjs/datetime/lib/css/blueprint-datetime.css";

于 2018-04-18T15:43:04.127 回答
0
  • 我已经有了这些

    @import "~normalize.css";
    @import "~@blueprintjs/core/lib/css/blueprint.css";
    @import "~@blueprintjs/icons/lib/css/blueprint-icons.css";
    
  • 添加了这些CSS

    @import "~@blueprintjs/datetime/lib/css/blueprint-datetime.css";
    
  • 日期选择器也能正常工作
于 2020-01-16T03:41:12.227 回答