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

modal light box blank #125

Merged
merged 1 commit into from
Nov 1, 2021
Merged

modal light box blank #125

merged 1 commit into from
Nov 1, 2021

Conversation

harishkumar-srijan
Copy link
Contributor

modal light box blank

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 29, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 33c2f73
Status: ✅  Deploy successful!
Preview URL: https://5c425562.design-system.pages.dev

View logs

Copy link
Contributor

@surbhi90 surbhi90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the comments

import React from "react";
import "./lightbox.scss";
export const Lightbox = ({}) => (
<>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harishkumar-srijan I don't think we need this fragment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

.modal-content {
width: 100%;
max-width: 837px;
height: 492px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harishkumar-srijan It should be in vh or in % otherwise it won't be consistent in all the devices

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

import { Meta, Story, canvas } from '@storybook/addon-docs';
import { Lightbox } from './Lightbox';

<Meta title="Molecules/Blocks/Lightbox" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harishkumar-srijan Component is not placed as per the tree structure...still merging the PR but please correct this one

@surbhi90 surbhi90 merged commit 74b568f into develop Nov 1, 2021
@kuldev kuldev deleted the UND-209-Modal-Lightbox branch February 25, 2022 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants