From afc7057e30bca81c7694943f49693facd5c24a2d Mon Sep 17 00:00:00 2001 From: Rushikesh Tote Date: Mon, 21 Mar 2022 20:10:31 +0530 Subject: [PATCH] fix styling --- .../pages/gallery/FileTypeChoiceModal.tsx | 97 ++++++++++--------- 1 file changed, 49 insertions(+), 48 deletions(-) diff --git a/src/components/pages/gallery/FileTypeChoiceModal.tsx b/src/components/pages/gallery/FileTypeChoiceModal.tsx index 5254333ca..c13246351 100644 --- a/src/components/pages/gallery/FileTypeChoiceModal.tsx +++ b/src/components/pages/gallery/FileTypeChoiceModal.tsx @@ -1,25 +1,9 @@ -import { Modal, Button } from 'react-bootstrap'; +import { Modal, Button, Container, Row } from 'react-bootstrap'; import React from 'react'; import ImportService from 'services/importService'; import { getElectronFiles } from 'utils/upload'; import constants from 'utils/strings/constants'; import { IoIosArrowForward, IoMdClose } from 'react-icons/io'; -import styled from 'styled-components'; - -const LeftAlignedDiv = styled.div` - float: left; - display: flex; - gap: 0.8em; - justify-content: center; - align-items: center; -`; - -const RightAlignedDiv = styled.div` - float: right; - position: relative; - top: 50%; - transform: translateY(-50%); -`; export default function FileTypeChoiceModal({ setElectronFiles, @@ -50,7 +34,12 @@ export default function FileTypeChoiceModal({ aria-labelledby="contained-modal-title-vcenter" centered dialogClassName="file-type-choice-modal"> - + - - + + + + + + + + );