From edf1762ae258710e4ad9fbae54337e5324067ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 12 Apr 2019 14:16:17 +0800 Subject: [PATCH] =?UTF-8?q?=20=E6=96=B0=E5=BB=BA=E5=85=A5=E5=8F=A3?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_l_course.html.erb | 2 +- app/views/users/_l_project.html.erb | 2 +- app/views/users/_l_shixun.html.erb | 2 +- app/views/users/_p_path.html.erb | 2 +- public/stylesheets/educoder/edu-all.css | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/users/_l_course.html.erb b/app/views/users/_l_course.html.erb index 77ef8a36..1a16703f 100644 --- a/app/views/users/_l_course.html.erb +++ b/app/views/users/_l_course.html.erb @@ -98,7 +98,7 @@ <% else %> -
+
<% if @user == User.current && ['a_course', 'a_shixun', 'a_project', 'a_path'].include?(@type) %> diff --git a/app/views/users/_l_project.html.erb b/app/views/users/_l_project.html.erb index ab2df884..b6479e86 100644 --- a/app/views/users/_l_project.html.erb +++ b/app/views/users/_l_project.html.erb @@ -98,7 +98,7 @@
<% else %> -
+
<% if @user == User.current && ['a_course', 'a_shixun', 'a_project', 'a_path'].include?(@type) %>
diff --git a/app/views/users/_l_shixun.html.erb b/app/views/users/_l_shixun.html.erb index df34c4b1..2b65ab07 100644 --- a/app/views/users/_l_shixun.html.erb +++ b/app/views/users/_l_shixun.html.erb @@ -102,7 +102,7 @@
<% else %> -
+
<% if @user == User.current && ['a_course', 'a_shixun', 'a_project', 'a_path'].include?(@type) %>
diff --git a/app/views/users/_p_path.html.erb b/app/views/users/_p_path.html.erb index d5a4e74c..33a1f719 100644 --- a/app/views/users/_p_path.html.erb +++ b/app/views/users/_p_path.html.erb @@ -87,7 +87,7 @@
<% else %> -
+
<% if @user == User.current && ['a_course', 'a_shixun', 'a_project', 'a_path'].include?(@type) %>
diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index 644a218c..25353e92 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -3221,6 +3221,6 @@ line-height: 20px;display: inline-block;color: rgba(65, 140, 205, 1) !important; .squarebox{ position: absolute; - top: -10%; - left: 20%; + top: 0%; + left: 2%; } \ No newline at end of file