From 5c4d6aee5fd805605d9980b325eb5e3eba8fa859 Mon Sep 17 00:00:00 2001 From: elforjani3 Date: Sun, 7 Mar 2021 21:18:30 +0200 Subject: [PATCH] refactoring(drawer): drawer template. --- client/src/components/Drawer/Drawer.js | 2 +- .../src/style/components/Drawer/DrawerTemplate.scss | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/client/src/components/Drawer/Drawer.js b/client/src/components/Drawer/Drawer.js index e0c46b331..4d5f35214 100644 --- a/client/src/components/Drawer/Drawer.js +++ b/client/src/components/Drawer/Drawer.js @@ -10,7 +10,7 @@ export default function ({ children, isOpen, isClose, drawerProps }) { position={Position.RIGHT} canOutsideClickClose={true} canEscapeKeyClose={true} - size={'65%'} + size={'700px'} onClose={isClose} {...drawerProps} > diff --git a/client/src/style/components/Drawer/DrawerTemplate.scss b/client/src/style/components/Drawer/DrawerTemplate.scss index 7860a45f3..22a6d58c1 100644 --- a/client/src/style/components/Drawer/DrawerTemplate.scss +++ b/client/src/style/components/Drawer/DrawerTemplate.scss @@ -1,22 +1,21 @@ #page-size { margin: 0 auto; background-color: transparent; - width: 21cm; - // width: 680px; + width: 680px; + // width: 21cm; // height: 29.7cm; padding-bottom: 20px; } .template { background-color: transparent; - margin: 20px; + margin: 25px 20px; &__header { display: flex; align-items: center; justify-content: space-between; - // margin: 0px 40px 16px 0px; - margin: 0px 5px 15px 5px; + margin: 0px 35px 20px 5px; &--title h1 { font-weight: 600; color: #1c4587; @@ -31,11 +30,9 @@ display: flex; flex-wrap: wrap; border-bottom: 2px solid #1155cc; - padding-bottom: 35px; - + padding: 2px 2px 30px; &__info { flex: 0 1 24%; - // flex: 0 1 25%; padding-left: 5px; color: #999999; font-size: 16px;