Explorar o código

Fixed alignment issue in tables under education(#233) (#434)

Reyhan %!s(int64=3) %!d(string=hai) anos
pai
achega
adf5d52ab3

+ 1 - 1
layouts/partials/sections/education.html

@@ -59,7 +59,7 @@
                                 {{ $hideScale  := .takenCourses.hideScale }}
                                 <table>
                                     <thead>
-                                        <th>{{ i18n "course_name"}}</th>
+                                        <th class="course-name-header">{{ i18n "course_name"}}</th>
                                         {{ if not $hideScale  }}<th>{{ i18n "total_credit"}}</th>{{ end }}
                                         <th>{{ i18n "obtained_credit"}}</th>
                                     </thead>

+ 3 - 1
static/css/sections/education.css

@@ -102,7 +102,9 @@
   border: none;
   color: #212529;
 }
-
+.education-section .taken-courses th.course-name-header{
+  width: 50%;
+}
 .education-section .taken-courses .hidden-course {
   display: none;
   transition: all 1s ease-out;