From 99b8eb565d4a1d5a57e6994540b922e3bd6a40f8 Mon Sep 17 00:00:00 2001 From: janpaulo Date: Tue, 1 Mar 2022 22:50:47 +0800 Subject: [PATCH] Change position add button for sub levels --- app/javascript/src/application/subject-accordion.scss | 9 +++++++++ app/views/subject_indexes/show.html.erb | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app/javascript/src/application/subject-accordion.scss b/app/javascript/src/application/subject-accordion.scss index 8f3476b..7b8066c 100644 --- a/app/javascript/src/application/subject-accordion.scss +++ b/app/javascript/src/application/subject-accordion.scss @@ -26,4 +26,13 @@ .non-toggle { margin-right: 65px !important; } + + .sub-icon-add a { + font-size: large; + color: #4caf50; + } + + .sub-icon-add a:hover { + color: darkred; + } \ No newline at end of file diff --git a/app/views/subject_indexes/show.html.erb b/app/views/subject_indexes/show.html.erb index c921df3..0922422 100644 --- a/app/views/subject_indexes/show.html.erb +++ b/app/views/subject_indexes/show.html.erb @@ -36,9 +36,9 @@
-
-
Sub Levels
- +
+
Sub Levels
+