diff --git a/cv_template.html b/cv_template.html
index c7ed753..0827364 100644
--- a/cv_template.html
+++ b/cv_template.html
@@ -66,20 +66,25 @@
.job-header {
width: 100%;
margin-bottom: 5px;
+ display: table; /* هذا يحل مشاكل Dompdf */
}
.job-title {
font-weight: bold;
- font-size: 14px;
+ font-size: 13.5px; /* تصغير طفيف جداً */
color: #222;
float: left;
+ width: 70%; /* إجبار العنوان على عدم تجاوز 70% من السطر */
+ line-height: 1.3;
}
.job-meta {
- font-size: 12px;
+ font-size: 11px;
color: #1a237e;
font-weight: bold;
float: right;
+ width: 28%; /* تخصيص مساحة آمنة للتاريخ */
+ text-align: right;
}
.clear { clear: both; }
diff --git a/server/cv_template.html b/server/cv_template.html
index c7ed753..0827364 100644
--- a/server/cv_template.html
+++ b/server/cv_template.html
@@ -66,20 +66,25 @@
.job-header {
width: 100%;
margin-bottom: 5px;
+ display: table; /* هذا يحل مشاكل Dompdf */
}
.job-title {
font-weight: bold;
- font-size: 14px;
+ font-size: 13.5px; /* تصغير طفيف جداً */
color: #222;
float: left;
+ width: 70%; /* إجبار العنوان على عدم تجاوز 70% من السطر */
+ line-height: 1.3;
}
.job-meta {
- font-size: 12px;
+ font-size: 11px;
color: #1a237e;
font-weight: bold;
float: right;
+ width: 28%; /* تخصيص مساحة آمنة للتاريخ */
+ text-align: right;
}
.clear { clear: both; }