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.
13 lines
495 B
Plaintext
13 lines
495 B
Plaintext
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<title><%= content_for?(:title) ? yield(:title) : default_title %></title>
|
|
<% if rtl? %>
|
|
<%= stylesheet_link_tag "application-rtl" %>
|
|
<% else %>
|
|
<%= stylesheet_link_tag "application" %>
|
|
<% end %>
|
|
<%= javascript_include_tag "application", "data-turbolinks-track" => "reload" %>
|
|
<%= csrf_meta_tags %>
|
|
<%= favicon_link_tag "favicon.ico" %>
|