From ee6f88c09208ee44cae021d80fd313acb2185f7f Mon Sep 17 00:00:00 2001 From: Stuart Owen Date: Fri, 10 Nov 2023 14:50:50 +0000 Subject: [PATCH] add a bit more spacing between the terms table and buttons, and transfer to css #1653 --- app/assets/stylesheets/application.css | 1 + app/assets/stylesheets/controlled_vocabs.css | 7 +++++++ app/views/sample_controlled_vocabs/_form.html.erb | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 app/assets/stylesheets/controlled_vocabs.css diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 8e4e9d6ff9..8a8102cdbd 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -19,6 +19,7 @@ *= require organisms *= require human_diseases *= require samples +*= require controlled_vocabs *= require DataTables-1.11.3/dataTables.bootstrap *= require DataTables-1.11.3/select.bootstrap *= require DataTables-1.11.3/buttons.bootstrap diff --git a/app/assets/stylesheets/controlled_vocabs.css b/app/assets/stylesheets/controlled_vocabs.css new file mode 100644 index 0000000000..ad31634183 --- /dev/null +++ b/app/assets/stylesheets/controlled_vocabs.css @@ -0,0 +1,7 @@ +#controlled-vocab-terms #controlled-vocab-terms-fixed { + margin-bottom: 1em; +} + +#controlled-vocab-terms #new-terms { + width: 100%; +} \ No newline at end of file diff --git a/app/views/sample_controlled_vocabs/_form.html.erb b/app/views/sample_controlled_vocabs/_form.html.erb index b23ce0143e..589d670100 100644 --- a/app/views/sample_controlled_vocabs/_form.html.erb +++ b/app/views/sample_controlled_vocabs/_form.html.erb @@ -67,7 +67,7 @@
- +
Label* URI