From d838f17f4b4d1578eac011fc7dc03d0914fc19da Mon Sep 17 00:00:00 2001 From: Tim Lange Date: Wed, 20 Mar 2019 18:34:02 +0100 Subject: [PATCH] UX: Changed editor_version to a select field (#2107) --- app/assets/stylesheets/settings.scss | 8 +++++++- app/views/users/_misc.html.erb | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/settings.scss b/app/assets/stylesheets/settings.scss index 97d604143..f9403eeca 100755 --- a/app/assets/stylesheets/settings.scss +++ b/app/assets/stylesheets/settings.scss @@ -212,7 +212,13 @@ } select { display: block; - font-size: 1.3em; + font-size:19px; + width:650px; + max-width:calc(100% - 4px); + padding:12px; + border:1px solid rgb(222, 230, 233); + border-radius:3px; + background-color:white; } button.big-action { width: 130px; diff --git a/app/views/users/_misc.html.erb b/app/views/users/_misc.html.erb index 767b36335..f157e2a41 100644 --- a/app/views/users/_misc.html.erb +++ b/app/views/users/_misc.html.erb @@ -13,7 +13,7 @@ <%= form_for(@user) do |f| %>
<%= f.label :editor_version, "Editor version: v1 or v2" %> - <%= f.text_field :editor_version %> + <%= f.select :editor_version, options_for_select(["v1", "v2"], @user.editor_version) %> v2 is currently in beta