Fixed alignment issue in tables under education(#233)

This commit is contained in:
reyhhan 2021-10-12 14:17:44 +05:30
parent ba997ff4c5
commit 3b29c5b8d8
2 changed files with 4 additions and 2 deletions

View file

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

View file

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