This way, when the language is written form right-to-left, elements using Foundation mixins/classes will float to the opposite direction as they do in left-to-right languages. The same will apply to text alignment. To offer full support for RTL languages, we need to change every single reference to `float: left`, `float: right`, `text-align: left`, `text-align: right`, and possible adjust other properties like `left`, `margin-left`, `padding-left` or `border-left`. In the meantime, we at least partially support these languages. Replacing `float` with `flex` when possible would also improve RTL support.
22 lines
1.1 KiB
Ruby
22 lines
1.1 KiB
Ruby
# Be sure to restart your server when you modify this file.
|
|
|
|
# Version of your assets, change this if you want to expire all your assets.
|
|
Rails.application.config.assets.version = "1.0"
|
|
|
|
# Add additional assets to the asset load path
|
|
# Rails.application.config.assets.paths << Emoji.images_path
|
|
|
|
# Precompile additional assets.
|
|
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
|
# Rails.application.config.assets.precompile += %w( search.js )
|
|
Rails.application.config.assets.precompile += %w[ckeditor/config.js]
|
|
Rails.application.config.assets.precompile += %w[stat_graphs.js]
|
|
Rails.application.config.assets.precompile += %w[dashboard_graphs.js]
|
|
Rails.application.config.assets.precompile += %w[application-rtl.css]
|
|
Rails.application.config.assets.precompile += %w[print.css]
|
|
Rails.application.config.assets.precompile += %w[pdf_fonts.css]
|
|
Rails.application.config.assets.precompile += %w[sdg/*.png]
|
|
Rails.application.config.assets.precompile += %w[sdg/**/*.png]
|
|
|
|
# Loads custom images and custom fonts before app/assets/images and app/assets/fonts
|