refactoring(drawer): drawer template.

This commit is contained in:
elforjani3
2021-03-07 21:18:30 +02:00
parent e1dd6ffec9
commit 5c4d6aee5f
2 changed files with 6 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ export default function ({ children, isOpen, isClose, drawerProps }) {
position={Position.RIGHT} position={Position.RIGHT}
canOutsideClickClose={true} canOutsideClickClose={true}
canEscapeKeyClose={true} canEscapeKeyClose={true}
size={'65%'} size={'700px'}
onClose={isClose} onClose={isClose}
{...drawerProps} {...drawerProps}
> >

View File

@@ -1,22 +1,21 @@
#page-size { #page-size {
margin: 0 auto; margin: 0 auto;
background-color: transparent; background-color: transparent;
width: 21cm; width: 680px;
// width: 680px; // width: 21cm;
// height: 29.7cm; // height: 29.7cm;
padding-bottom: 20px; padding-bottom: 20px;
} }
.template { .template {
background-color: transparent; background-color: transparent;
margin: 20px; margin: 25px 20px;
&__header { &__header {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
// margin: 0px 40px 16px 0px; margin: 0px 35px 20px 5px;
margin: 0px 5px 15px 5px;
&--title h1 { &--title h1 {
font-weight: 600; font-weight: 600;
color: #1c4587; color: #1c4587;
@@ -31,11 +30,9 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
border-bottom: 2px solid #1155cc; border-bottom: 2px solid #1155cc;
padding-bottom: 35px; padding: 2px 2px 30px;
&__info { &__info {
flex: 0 1 24%; flex: 0 1 24%;
// flex: 0 1 25%;
padding-left: 5px; padding-left: 5px;
color: #999999; color: #999999;
font-size: 16px; font-size: 16px;