mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf78255220 | ||
|
|
f9aa6abdd7 | ||
|
|
0a5e40a0d8 | ||
|
|
4aa445fe35 |
@@ -30,17 +30,17 @@ block head
|
|||||||
flex: 1 1 0%;
|
flex: 1 1 0%;
|
||||||
}
|
}
|
||||||
.#{prefix}-big-title {
|
.#{prefix}-big-title {
|
||||||
font-size: 60px;
|
font-size: 30px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
.#{prefix}-logo-wrap img {
|
.#{prefix}-logo-wrap img {
|
||||||
height: auto;
|
width: 100%;
|
||||||
width: auto;
|
height: 100%;
|
||||||
max-width: 400px;
|
max-width: 260px;
|
||||||
max-height: 160px;
|
max-height: 100px;
|
||||||
}
|
}
|
||||||
.#{prefix}-terms-list {
|
.#{prefix}-terms-list {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -30,17 +30,17 @@ block head
|
|||||||
flex: 1 1 0%;
|
flex: 1 1 0%;
|
||||||
}
|
}
|
||||||
.#{prefix}-big-title {
|
.#{prefix}-big-title {
|
||||||
font-size: 60px;
|
font-size: 30px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
.#{prefix}-logo-wrap img {
|
.#{prefix}-logo-wrap img {
|
||||||
height: auto;
|
width: 100%;
|
||||||
width: auto;
|
height: 100%;
|
||||||
max-width: 400px;
|
max-width: 260px;
|
||||||
max-height: 160px;
|
max-height: 100px;
|
||||||
}
|
}
|
||||||
.#{prefix}-terms {
|
.#{prefix}-terms {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -30,17 +30,17 @@ block head
|
|||||||
flex: 1 1 0%;
|
flex: 1 1 0%;
|
||||||
}
|
}
|
||||||
.#{prefix}-big-title {
|
.#{prefix}-big-title {
|
||||||
font-size: 60px;
|
font-size: 30px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
.#{prefix}-logo-wrap img {
|
.#{prefix}-logo-wrap img {
|
||||||
height: auto;
|
width: 100%;
|
||||||
width: auto;
|
height: 100%;
|
||||||
max-width: 400px;
|
max-width: 260px;
|
||||||
max-height: 160px;
|
max-height: 100px;
|
||||||
}
|
}
|
||||||
.#{prefix}-details {
|
.#{prefix}-details {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -31,17 +31,17 @@ block head
|
|||||||
flex: 1 1 0%;
|
flex: 1 1 0%;
|
||||||
}
|
}
|
||||||
.#{prefix}-big-title{
|
.#{prefix}-big-title{
|
||||||
font-size: 60px;
|
font-size: 30px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
.#{prefix}-logo-wrap img {
|
.#{prefix}-logo-wrap img {
|
||||||
height: auto;
|
width: 100%;
|
||||||
width: auto;
|
height: 100%;
|
||||||
max-width: 400px;
|
max-width: 260px;
|
||||||
max-height: 160px;
|
max-height: 100px;
|
||||||
}
|
}
|
||||||
.#{prefix}-terms-list{
|
.#{prefix}-terms-list{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -28,13 +28,13 @@ block head
|
|||||||
flex: 1 1 0%;
|
flex: 1 1 0%;
|
||||||
}
|
}
|
||||||
.#{prefix}-logo-wrap img {
|
.#{prefix}-logo-wrap img {
|
||||||
height: auto;
|
width: 100%;
|
||||||
width: auto;
|
height: 100%;
|
||||||
max-width: 400px;
|
max-width: 260px;
|
||||||
max-height: 160px;
|
max-height: 100px;
|
||||||
}
|
}
|
||||||
.#{prefix}-big-title {
|
.#{prefix}-big-title {
|
||||||
font-size: 60px;
|
font-size: 30px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ export function BrandingCompanyLogoUploadField() {
|
|||||||
onChange={(file) => {
|
onChange={(file) => {
|
||||||
const imageUrl = file ? URL.createObjectURL(file) : '';
|
const imageUrl = file ? URL.createObjectURL(file) : '';
|
||||||
|
|
||||||
|
// Reset the logo key since it is changed.
|
||||||
|
setFieldValue('companyLogoKey', '');
|
||||||
|
|
||||||
setFieldValue('_companyLogoFile', file);
|
setFieldValue('_companyLogoFile', file);
|
||||||
setFieldValue('companyLogoUri', imageUrl);
|
setFieldValue('companyLogoUri', imageUrl);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #111;
|
color: #111;
|
||||||
box-shadow: inset 0 4px 0px 0 var(--invoice-primary-color), 0 10px 15px rgba(0, 0, 0, 0.05);
|
box-shadow: inset 0 4px 0px 0 var(--invoice-primary-color), 0 10px 15px rgba(0, 0, 0, 0.05);
|
||||||
padding: 24px 30px;
|
padding: 30px 30px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
height: 1123px;
|
height: 1123px;
|
||||||
}
|
}
|
||||||
.bigTitle{
|
.bigTitle{
|
||||||
font-size: 60px;
|
font-size: 30px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@@ -105,7 +105,10 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
img{
|
img{
|
||||||
max-width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
max-width: 260px;
|
||||||
|
max-height: 100px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.logoImg {
|
.logoImg {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import clsx from 'classnames';
|
import clsx from 'classnames';
|
||||||
import { get } from 'lodash';
|
import { get } from 'lodash';
|
||||||
import { Box, Group, GroupProps, Stack } from '@/components';
|
import { Box, Group, GroupProps } from '@/components';
|
||||||
import styles from './InvoicePaperTemplate.module.scss';
|
import styles from './InvoicePaperTemplate.module.scss';
|
||||||
|
|
||||||
export interface PaperTemplateProps {
|
export interface PaperTemplateProps {
|
||||||
|
|||||||
Reference in New Issue
Block a user