angular - Bootswatch 选择输入和文件输入无样式
问题描述
我正在使用带有 scss 的角度的 bootswatch 主题来设置我的应用程序的样式。它似乎工作正常,但是 select 标签和 input type="file" 标签的样式不起作用。可能还有更多不起作用,但这两个是我遇到的。
选择代码:
<select class="form-select smart-contract__margin-right"
[(ngModel)]="this.selectedFileName">
<option *ngFor="let fileName of this.fileNames" [ngValue]="fileName">{{fileName}}
</option>
</select>
文件输入代码:
<input type="file" class="form-control determine-conditions-panel__input" />
这就是我导入 bootswatch 主题的方式(styles.scss of angular):
@import '~ngx-toastr/toastr.css';
@import "~bootswatch/dist/litera/variables";
@import "~bootstrap/scss/bootstrap";
@import "~bootswatch/dist/litera/bootswatch";
同样,其他一切似乎都有效,只是这两个似乎不起作用。有谁知道问题是什么?
解决方案
推荐阅读
- java - 对于某些时区,通过 JodaTime 和 java.time 设置 TimeZone 后的更正时间会给出不同的结果,为什么?
- python - 熊猫将两列分组为主列
- python - 获取“表”附近的记录时发生异常:Python 中的语法错误
- twitter-bootstrap - Bootstrap / vue 响应式“蛇”列,其中交替的“行”被反转
- flutter - 颤振中的小部件回调
- git - Windows 上的 Reposurgeon
- javascript - 单击选择标签时禁用手风琴打开
- azure-ad-b2c - 自定义 SAML 策略解密方法
- flutter - 带有 setState 的对话框中的 listView
- rust - 解构期权
> 在 Rust 的 match 语句中