jsonresume-theme-tech 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsonresume-theme-tech",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "A clean, modern JSON Resume theme tailored for tech professionals, senior engineers, and startup founders",
5
5
  "author": "Gaurav Bansal",
6
6
  "repository": {
package/style.css CHANGED
@@ -116,40 +116,31 @@ h2.sectionName {
116
116
  }
117
117
 
118
118
  /*
119
- * Company / degree + dates: float layout (right edge ≈ Word right-tab), not table/flex.
120
- * Title + date (projects, awards, …): same pattern.
119
+ * Company / degree + dates: flex row (date pinned right). Floats are NOT used:
120
+ * Chromium paints floats before in-flow text, which put every company/date
121
+ * line ahead of the candidate name in the PDF text stream (breaks ATS reading order).
122
+ * Flex items are painted in DOM order.
121
123
  */
122
124
  .blockHeader {
123
125
  display: block;
124
126
  margin-bottom: 1px;
125
127
  }
126
128
 
127
- .blockHeader::after,
128
- .metaRow::after {
129
- content: "";
130
- /* Safer clearfix than `display: table` for PDF/ATS extraction */
131
- display: block;
132
- clear: both;
133
- }
134
-
135
129
  .blockHeader.blockHeaderInlineMeta {
136
- display: block;
130
+ display: flex;
131
+ justify-content: space-between;
132
+ align-items: baseline;
137
133
  width: 100%;
138
- overflow: hidden;
139
134
  }
140
135
 
141
136
  .blockHeader.blockHeaderInlineMeta h3.title {
142
- float: left;
143
- /* Patents/Projects titles sit left of a long, nowrap dateLine.
144
- Keep the title wide enough to avoid wrapping while still leaving
145
- space for the right-aligned date text. */
146
- max-width: calc(100% - 12em);
137
+ flex: 1 1 auto;
147
138
  padding-right: 0.5em;
148
139
  min-width: 0;
149
140
  }
150
141
 
151
142
  .blockHeader.blockHeaderInlineMeta .dateLine {
152
- float: right;
143
+ flex: none;
153
144
  margin-top: 0;
154
145
  text-align: right;
155
146
  white-space: nowrap;
@@ -188,18 +179,17 @@ h3.subSectionName {
188
179
  }
189
180
 
190
181
  .metaRow {
191
- display: block;
182
+ display: flex;
183
+ justify-content: space-between;
184
+ align-items: baseline;
192
185
  width: 100%;
193
186
  margin-top: 1px;
194
- overflow: hidden;
195
187
  }
196
188
 
197
189
  .metaRow .companyLine,
198
190
  .metaRow .degree,
199
191
  .metaRow .position {
200
- float: left;
201
- clear: left;
202
- max-width: calc(100% - 14em);
192
+ flex: 1 1 auto;
203
193
  padding-right: 1em;
204
194
  min-width: 0;
205
195
  margin: 0;
@@ -207,7 +197,7 @@ h3.subSectionName {
207
197
  }
208
198
 
209
199
  .metaRow .dateLine {
210
- float: right;
200
+ flex: none;
211
201
  margin-top: 0;
212
202
  text-align: right;
213
203
  white-space: nowrap;
@@ -292,16 +282,17 @@ h3.subSectionName {
292
282
  }
293
283
 
294
284
  .sectionContent ul > li {
295
- position: relative;
296
285
  padding-left: 1.15em;
297
286
  margin-bottom: 1px;
298
287
  color: var(--resume-body);
299
288
  }
300
289
 
290
+ /* Inline (not absolutely positioned) so the bullet precedes its text in the PDF stream */
301
291
  .sectionContent ul > li::before {
302
292
  content: "\2022";
303
- position: absolute;
304
- left: 0;
293
+ display: inline-block;
294
+ width: 1.15em;
295
+ margin-left: -1.15em;
305
296
  color: var(--resume-accent);
306
297
  font-weight: normal;
307
298
  }
Binary file