Openbravo Issue Tracking System - POS2 | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0048481 | POS2 | Core | public | 2022-01-25 16:13 | 2022-02-11 15:02 | |||||||
Reporter | jorge-garcia | |||||||||||
Assigned To | elara | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0048481: ServerStatusButton popover actions styles cannot be modified by CSS | |||||||||||
Description | ServerStatusButton popover actions styles cannot be modified by CSS If passing renderCustomButtons as a prop of the component with several Settings elements to render, elements are rendered in a row (display:flex, flex-direction: row (default) There is no way of changing this behavior from outside the component | |||||||||||
Steps To Reproduce | Create a component using ServerStatusButtonActions function to render several Setting options using renderCustomButtons prop (verify cssError.png file) Verify two things: 1 - All setting options are rendered in a row (making them not reachable) 2 - Popover overlay does not go until the end of the popover placeholder | |||||||||||
Proposed Solution | Allow as a prop the ability to change div generated by renderCustomButtons function erverStatusButton.jsx const ServerStatusButton = ({ icon, serverName, label, popOverTitle, tryOnlineTransition, showPendingButton, renderCustomButtons, showPopoverInOnline +variantClass }) => { y en esta parte return ( <> <BaseButton variantClass="obc2ServerStatus" - variantClass="obc2ServerStatus" + variantClass=`${variantClass} obc2ServerStatus` | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | cssError.png (26,416) 2022-01-25 16:13 https://issues.openbravo.com/file_download.php?file_id=16551&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2022-01-25 16:13 | jorge-garcia | New Issue | ||||||||||
2022-01-25 16:13 | jorge-garcia | Assigned To | => Triage Platform Base | |||||||||
2022-01-25 16:13 | jorge-garcia | File Added: cssError.png | ||||||||||
2022-01-25 16:13 | jorge-garcia | Triggers an Emergency Pack | => No | |||||||||
2022-01-31 18:04 | guilleaer | Relationship added | has duplicate 0048503 | |||||||||
2022-01-31 18:04 | guilleaer | Proposed Solution updated | ||||||||||
2022-02-03 15:21 | elara | Assigned To | Triage Platform Base => elara | |||||||||
2022-02-03 15:25 | elara | Status | new => scheduled | |||||||||
2022-02-05 00:42 | hgbot | Note Added: 0134796 | ||||||||||
2022-02-11 15:02 | hgbot | Resolution | open => fixed | |||||||||
2022-02-11 15:02 | hgbot | Status | scheduled => closed | |||||||||
2022-02-11 15:02 | hgbot | Note Added: 0134931 | ||||||||||
2022-02-11 15:02 | hgbot | Note Added: 0134932 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|