mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
feat: Style tweaks.
This commit is contained in:
@@ -9,8 +9,10 @@ function DashboardSplitPane({
|
|||||||
sidebarExpended,
|
sidebarExpended,
|
||||||
children
|
children
|
||||||
}) {
|
}) {
|
||||||
|
const initialSize = 190;
|
||||||
|
|
||||||
const [defaultSize, setDefaultSize] = useState(
|
const [defaultSize, setDefaultSize] = useState(
|
||||||
parseInt(localStorage.getItem('dashboard-size'), 10) || 220,
|
parseInt(localStorage.getItem('dashboard-size'), 10) || initialSize,
|
||||||
);
|
);
|
||||||
const debounceSaveSize = useRef(
|
const debounceSaveSize = useRef(
|
||||||
debounce((size) => {
|
debounce((size) => {
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ function BalanceCell({ cell }) {
|
|||||||
<Money amount={balance.amount} currency={balance.currency_code} />
|
<Money amount={balance.amount} currency={balance.currency_code} />
|
||||||
</span>
|
</span>
|
||||||
) : (
|
) : (
|
||||||
<span class="placeholder">--</span>
|
<span class="placeholder">—</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -141,7 +141,7 @@
|
|||||||
color: #141720;
|
color: #141720;
|
||||||
|
|
||||||
.placeholder{
|
.placeholder{
|
||||||
color: #999;
|
color: #A0A0A0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tr:hover .td{
|
.tr:hover .td{
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
.table{
|
.table{
|
||||||
.tbody{
|
.tbody{
|
||||||
.tr:not(.no-results) .td{
|
.tr:not(.no-results) .td{
|
||||||
padding-top: 0.4rem;
|
padding-top: 0.36rem;
|
||||||
padding-bottom: 0.4rem;
|
padding-bottom: 0.36rem;
|
||||||
}
|
}
|
||||||
.account_name{
|
.account_name{
|
||||||
|
|
||||||
|
|||||||
@@ -189,7 +189,7 @@
|
|||||||
color: #1183DA;
|
color: #1183DA;
|
||||||
}
|
}
|
||||||
.#{$ns}-button-text{
|
.#{$ns}-button-text{
|
||||||
margin-right: 3px;
|
margin-right: 2px;
|
||||||
}
|
}
|
||||||
.#{$ns}-icon-caret-down{
|
.#{$ns}-icon-caret-down{
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
h1{
|
h1{
|
||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
color: #333;
|
color: #050035;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
h3{
|
h3{
|
||||||
|
|||||||
Reference in New Issue
Block a user