Edits the CSS of the core-data/PlacesDetailPanel component to remove the absolute positioning and fixed width;
Adds user stories showing use of the component inside a semantic-ui-reactSidebar component and Modal component
Notes
Unsure about the best way to structure this change; as is, it's sort of a breaking change in that existing uses of the panel as a sidebar specifically will need to be updated to actually wrap the component in a sidebar other custom styled component to recover the same behavior. Alternatively we could force backward compatibility by passing some sort of optional modal flag as a prop and only apply the updated CSS if that flag is applied, but that seems significantly less elegant. Open to thoughts!
In this PR
core-data/PlacesDetailPanel
component to remove the absolute positioning and fixed width;semantic-ui-react
Sidebar
component andModal
componentNotes
Unsure about the best way to structure this change; as is, it's sort of a breaking change in that existing uses of the panel as a sidebar specifically will need to be updated to actually wrap the component in a sidebar other custom styled component to recover the same behavior. Alternatively we could force backward compatibility by passing some sort of optional
modal
flag as a prop and only apply the updated CSS if that flag is applied, but that seems significantly less elegant. Open to thoughts!