Enhance button styling in search div: add relative positioning and high z-index to anchor tags within .btn-primary for improved layering.

This commit is contained in:
2026-01-26 23:28:07 +01:00
parent 21e2bc6412
commit bbad7483b7
4 changed files with 17 additions and 9 deletions

View File

@@ -55,13 +55,16 @@ class cvIngListener
$billing = $action->getRequestParameter('user_data_billing', array());
if(!$billing['full_name']) {
$i18n = $action->getContext()->getI18N();
$action->getRequest()->setError('user_data_billing{full_name}', $i18n->__('Brak imienia i nazwiska.'));
$ok = false;
} elseif(!cvIngService::validateName($billing['full_name'])) {
$action->getRequest()->setError('user_data_billing{full_name}', $validateError['full_name']);
$ok = false;
// Tylko dla osób prywatnych (customer_type != 2) wymagamy imienia i nazwiska
if($billing['customer_type'] != 2) {
if(!$billing['full_name']) {
$i18n = $action->getContext()->getI18N();
$action->getRequest()->setError('user_data_billing{full_name}', $i18n->__('Brak imienia i nazwiska.'));
$ok = false;
} elseif(!cvIngService::validateName($billing['full_name'])) {
$action->getRequest()->setError('user_data_billing{full_name}', $validateError['full_name']);
$ok = false;
}
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -632,6 +632,11 @@ div#search .btn-primary {
margin-top: -10px;
background: #c00;
padding: 2px;
a {
position: relative;
z-index: 9999;
}
}
}