Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes-post-release #267

Merged
merged 4 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/stories/charts/sentiment/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const Point = styled.g`
const ScrollingContainer = styled.div`
width: 100%;
overflow-x: scroll;
-webkit-overflow-scrolling: touch;
`;

const SentimentContainer = styled(ChartContainer)`
Expand Down Expand Up @@ -93,7 +94,7 @@ const formatAxisX = (value: DatumValue) => {
//Print only the first 10 characters
return (
<>
{value.toString().length > 15 ? value.toString().substring(0, 15) + "..." : value.toString()}
{value.toString().length > 20 ? value.toString().substring(0, 20) + "..." : value.toString()}
<title>{value as string}</title>
</>
);
Expand Down
6 changes: 6 additions & 0 deletions src/stories/modals/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ const UgModalBody = styled(ModalBody)`

const UgModal = styled(ZendeskModal)<ModalArgs>`
${({ isExtraLarge }) => isExtraLarge && "height: 90%; width: 90%;"}

@media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
top: 0;
height: 100%;
width: 100%;
}
`;

const ModalComponent = forwardRef<HTMLDivElement, ModalArgs>((props, ref) => (
Expand Down
1 change: 1 addition & 0 deletions src/stories/notifications/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const UgNotification = styled(ZendeskNotification)<NotificationArgs>`
align-items: center;
justify-content: space-between;
padding-right: ${({ theme }) => theme.space.md};
white-space: pre;

${UgAnchor} {
flex-shrink: 0;
Expand Down
Loading