Skip to content

Comments

fix: normalize Table10/Table11 row heights in guide templates#2337

Open
Arunodoy18 wants to merge 1 commit intoOWASP:masterfrom
Arunodoy18:fix/2133-guide-layout-clean
Open

fix: normalize Table10/Table11 row heights in guide templates#2337
Arunodoy18 wants to merge 1 commit intoOWASP:masterfrom
Arunodoy18:fix/2133-guide-layout-clean

Conversation

@Arunodoy18
Copy link

Fixes #2133

Problem:
The first suit table (VE - Data Validation & Encoding) in both guide template variants had inconsistent row heights compared to all other suit tables, causing text overflow in translations with longer content.

Standard template (owasp_cornucopia_webapp_ver_guide_bridge_lang.odt):

  • Table10.2: 3.501cm (should be 4.001cm)
  • Table10.3: 4.501cm (should be 4.001cm)

QR template (owasp_cornucopia_webapp_ver_guide_bridge_qr_lang.odt):

  • Table11.4: 3.501cm (should be 4.001cm)

All other suit tables (17/18 through 87/95) use 4.001cm uniformly.

Solution:
Normalized the inconsistent row heights to 4.001cm to match the standard used by all other suit tables. This provides consistent vertical spacing across all card descriptions and prevents text overflow issues in non-English translations.

Changes:

  • Fixed row heights in both guide template variants
  • Added fix_templates_issue_2133.py script for reproducibility
  • Updated .gitignore to exclude .backup files

Fixes OWASP#2133

Problem:
The first suit table (VE - Data Validation & Encoding) in both guide
template variants had inconsistent row heights compared to all other
suit tables, causing text overflow in translations with longer content.

Standard template (owasp_cornucopia_webapp_ver_guide_bridge_lang.odt):
- Table10.2: 3.501cm (should be 4.001cm)
- Table10.3: 4.501cm (should be 4.001cm)

QR template (owasp_cornucopia_webapp_ver_guide_bridge_qr_lang.odt):
- Table11.4: 3.501cm (should be 4.001cm)

All other suit tables (17/18 through 87/95) use 4.001cm uniformly.

Solution:
Normalized the inconsistent row heights to 4.001cm to match the
standard used by all other suit tables. This provides consistent
vertical spacing across all card descriptions and prevents text
overflow issues in non-English translations.

Changes:
- Fixed row heights in both guide template variants
- Added fix_templates_issue_2133.py script for reproducibility
- Updated .gitignore to exclude .backup files
@sydseter
Copy link
Collaborator

@Arunodoy18 Thank you for this. Make sure your commits are signed with a valid signature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix the layout on the guide templates

2 participants