Rails 3.2、引导程序和字体
我正在使用 bootstrap-sass 在 Rails 3.2 上构建一个应用程序。一切都很好,直到我安装了 fontface。我认为 fontface 覆盖了 bootstrap,因为该应用程序现在看起来完全混乱了。还有其他人遇到过这个问题或建议我如何解决这个问题吗?
我已经从应用程序中删除了字体文件,并删除了所有(我认为)对其的引用,但无法弄清楚。
当然,菜鸟的错误,我这几天没有将它分叉到github,此后已经做了很多工作。
任何帮助将不胜感激。谢谢你!
I was building an app on rails 3.2 with bootstrap-sass. Everything was fine until I installed fontface. I think fontface overrode bootstrap because the app looks completely messed up now. Has anyone else had this issue or suggest how i can fix this?
I already deleted the fontface files from the app and deleted all (I think) references to it, but couldn't figure it out.
Of course, noob mistake, I didn't fork it to github in the past few days and a lot of work has been done since.
Any help would be appreciated. Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,它“搞砸了”的原因是因为我已经从 1.4.4 更新到 bootstrap-sass 2.0,而且我想它与我已经做的不兼容。奇怪的是,虽然我前几天升级了,但刚刚显示不兼容。也许从那时起我就没有重新启动我的服务器。
如果有人以前遇到过同样的问题并且知道如何解决它,请告诉我,因为我想升级到 2.0。谢谢。
Actually, the reason it "messed up" was because I had updated to bootstrap-sass 2.0 from 1.4.4 and I guess it wasn't compatible with what I had already done, I suppose. The weird thing is although I had upgraded a few days ago, it had just showed up that it was incompatible. Maybe I just hadn't restarted my server since then.
If anyone had the same issue before and knows how to fix it, please let me know as I would like to upgrade to 2.0. Thanks.