diff --git a/app/assets/stylesheets/pages/_settings.scss b/app/assets/stylesheets/pages/_settings.scss index e7c4381..9e511d8 100644 --- a/app/assets/stylesheets/pages/_settings.scss +++ b/app/assets/stylesheets/pages/_settings.scss @@ -83,3 +83,11 @@ input:checked + .slider:before { .no-margin { margin: 0; } + +.font-weight-normal { + font-weight: normal; +} + +.padding-right { + padding-right: 10px; +} diff --git a/app/views/pages/index.html.erb b/app/views/pages/index.html.erb index 2e4a4ae..4fca728 100644 --- a/app/views/pages/index.html.erb +++ b/app/views/pages/index.html.erb @@ -1,3 +1,5 @@ +
+
@@ -36,8 +38,6 @@ -
- <%= javascript_pack_tag 'notifications' %> <%= javascript_pack_tag 'local_video' %> diff --git a/app/views/users/setting.html.erb b/app/views/users/setting.html.erb index e04d7d5..b6ec6e7 100644 --- a/app/views/users/setting.html.erb +++ b/app/views/users/setting.html.erb @@ -51,42 +51,46 @@
-
-

Settings

-
- <%= simple_form_for(@user) do |t| %> +
+
+
+

Settings

-
- <%= t.label :language, class:'no-padding no-margin' %> - <%= t.input_field :language, collection: languages.sort, class:'input-field-text-black input-dropdown' %> -
-
- <%= t.label :caption_font, class:'no-padding no-margin' %> - <%= t.input_field :caption_font, collection: fonts.sort, class:'input-field-text-black input-dropdown' %> -
-
- <%= t.label :caption_font_size, class:'no-padding no-margin' %> - <%= t.input_field :caption_font_size, class:'input-field-text-black' %> -
-
- <%= t.label :enable_transcript, class:'no-padding no-margin' %> - -
+ <%= simple_form_for(@user) do |t| %> +
+
+ <%= t.label :language, class:'padding-right no-margin font-weight-normal' %> + <%= t.input_field :language, collection: languages.sort, class:'input-field-text-black input-dropdown' %> +
+
+ <%= t.label :caption_font, class:'padding-right no-margin font-weight-normal' %> + <%= t.input_field :caption_font, collection: fonts.sort, class:'input-field-text-black input-dropdown' %> +
+
+ <%= t.label :caption_font_size, class:'padding-right no-margin font-weight-normal' %> + <%= t.input_field :caption_font_size, class:'input-field-text-black' %> +
+
+ <%= t.label :enable_transcript, class:'padding-right no-margin font-weight-normal' %> + +
- <%= link_to "Save", contacts_path, class: "btn btn-primary save-btn form-control" %> -

+ <%= link_to "Save", contacts_path, class: "btn btn-primary save-btn form-control" %> +

+
+ <% end %>
- <% end %> +
- -
- -