0
我正在以RTL語言(從右到左)編寫rails應用程序。 我爲我的前端框架使用Less和Twitter Bootstrap。Rails,Less和twitter bootstrap無法覆蓋導航標籤
有我的網站完全RTL我使用的CSS文件,我下載並從rbootstrap複製: http://rbootstrap.ir/
資產/樣式
一切都很正常RTL除了資產淨值表,它們仍然在左邊。
我試着玩了很多,這是我發現的: - 如果我刪除文件bootstrap_and_overrides.css.less,很多引導程序的功能不起作用,但導航欄確實對齊到右側。
每次我嘗試添加在我bootstrap_and_overrides.css.less東西,我得到了同樣的錯誤:
Unrecognised input
(in /home/bellonet/poligaffes/app/assets/stylesheets/bootstrap_and_overrides.css.less)
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" type="text/javascript"></script>
<![endif]-->
<%= stylesheet_link_tag "application", :media => "all" %>
<!-- For third-generation iPad with high-resolution Retina display: -->
<!-- Size should be 144 x 144 pixels -->