e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
322 stars 214 forks source link

{SIGNUP_GDPR_INFO} and bootstrap5 - html markup is not correct #4638

Open Jimmi08 opened 2 years ago

Jimmi08 commented 2 years ago

Bug Description

info is separated to more lines

image

How to Reproduce

Steps to reproduce the behavior:

  1. Use core boostrap5 theme
  2. Click on signup page , add GDPR settings

Problem is in using row class in this: $SIGNUP_WRAPPER['SIGNUP_GDPR_INFO'] = "<div class='form-group row m-2 text-center'>{---}</div> ";

the row has different behavior in bootstrap5 (flex is added) maybe there is another fix, but removing the class row helped

image

CaMer0n commented 2 years ago

@Jimmi08 I believe all the text is meant to be centered.

Jimmi08 commented 2 years ago

@CaMer0n yes, it should be centered, but flex in BT5 is splitting text to more than one line (the long line is ok but now it looks like 4 lines - link is on new line) - because class row.