feat: Style tweaks.

This commit is contained in:
Ahmed Bouhuolia
2020-07-04 02:58:58 +02:00
parent cfbe89498a
commit a279a9c5da
5 changed files with 9 additions and 7 deletions

View File

@@ -9,8 +9,10 @@ function DashboardSplitPane({
sidebarExpended,
children
}) {
const initialSize = 190;
const [defaultSize, setDefaultSize] = useState(
parseInt(localStorage.getItem('dashboard-size'), 10) || 220,
parseInt(localStorage.getItem('dashboard-size'), 10) || initialSize,
);
const debounceSaveSize = useRef(
debounce((size) => {

View File

@@ -56,7 +56,7 @@ function BalanceCell({ cell }) {
<Money amount={balance.amount} currency={balance.currency_code} />
</span>
) : (
<span class="placeholder">--</span>
<span class="placeholder"></span>
);
}

View File

@@ -141,7 +141,7 @@
color: #141720;
.placeholder{
color: #999;
color: #A0A0A0;
}
}
.tr:hover .td{

View File

@@ -12,8 +12,8 @@
.table{
.tbody{
.tr:not(.no-results) .td{
padding-top: 0.4rem;
padding-bottom: 0.4rem;
padding-top: 0.36rem;
padding-bottom: 0.36rem;
}
.account_name{

View File

@@ -189,7 +189,7 @@
color: #1183DA;
}
.#{$ns}-button-text{
margin-right: 3px;
margin-right: 2px;
}
.#{$ns}-icon-caret-down{
margin-right: 0;
@@ -211,7 +211,7 @@
h1{
font-size: 26px;
font-weight: 300;
color: #333;
color: #050035;
margin: 0;
}
h3{