Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyhan <reyhansara97@gmail.com>2021-10-12 20:10:04 +0300
committerGitHub <noreply@github.com>2021-10-12 20:10:04 +0300
commitadf5d52ab3390369937ad3cd0763ab0538cc327b (patch)
tree1144216a58ddc2955d19a54befaadbed7895b5b1
parentba997ff4c5e930ea5eb8a5ad9f5997d759e03c0b (diff)
Fixed alignment issue in tables under education(#233) (#434)
-rw-r--r--layouts/partials/sections/education.html2
-rw-r--r--static/css/sections/education.css4
2 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/sections/education.html b/layouts/partials/sections/education.html
index 59db9a3..a300398 100644
--- a/layouts/partials/sections/education.html
+++ b/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>
diff --git a/static/css/sections/education.css b/static/css/sections/education.css
index 7b31cf3..201c039 100644
--- a/static/css/sections/education.css
+++ b/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;