Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 gem中自定义样式的组件(在本例中为bootstrap 3 日期时间选择器)的 Rails 方式是什么?
使用 Rails 4 资产管道
我可以编辑 gem 中的原始 css,但我宁愿覆盖它!
在 assets/css 文件夹中创建一个名为 custom.scss.css 的文件,然后覆盖引导样式,例如:
.btn{ width:100px; }