@layerfi/components 0.1.18 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -737,6 +737,7 @@
737
737
  background: #999;
738
738
  }
739
739
  .Layer__component.Layer__component--elevated {
740
+ border-width: 0;
740
741
  box-shadow:
741
742
  0px 4px 12px 0px var(--base-transparent-8),
742
743
  0px 2px 4px 0px var(--base-transparent-6),
@@ -1139,6 +1140,10 @@
1139
1140
  "cv05" on,
1140
1141
  "cv08" on,
1141
1142
  "ss03" on;
1143
+ white-space: nowrap;
1144
+ text-overflow: ellipsis;
1145
+ max-width: 100%;
1146
+ overflow: hidden;
1142
1147
  }
1143
1148
  .Layer__select .Layer__select__option-label {
1144
1149
  display: flex;
@@ -1317,6 +1322,17 @@
1317
1322
  right: 8px;
1318
1323
  z-index: 1;
1319
1324
  }
1325
+ @media screen and (-webkit-min-device-pixel-ratio: 2) {
1326
+ .Layer__component .Layer__textarea,
1327
+ .Layer__component .Layer__select__control,
1328
+ .Layer__component .Layer__input {
1329
+ font-size: 16px;
1330
+ min-height: 39px;
1331
+ }
1332
+ .Layer__component .Layer__bank-transaction-list-item__expanded-row .Layer__select .Layer__select__control {
1333
+ min-height: 39px;
1334
+ }
1335
+ }
1320
1336
  .Layer__onboarding {
1321
1337
  transition:
1322
1338
  max-height 500ms ease-out,
@@ -1665,6 +1681,7 @@
1665
1681
  display: flex;
1666
1682
  width: 100%;
1667
1683
  border-bottom: 1px solid var(--color-base-200);
1684
+ container-type: inline-size;
1668
1685
  }
1669
1686
  .Layer__view-header__content {
1670
1687
  padding: var(--spacing-lg);
@@ -1678,6 +1695,16 @@
1678
1695
  display: flex;
1679
1696
  align-items: center;
1680
1697
  }
1698
+ @container (max-width: 760px) {
1699
+ .Layer__view-header__content {
1700
+ flex-direction: column;
1701
+ align-items: flex-start;
1702
+ gap: var(--spacing-sm);
1703
+ }
1704
+ .Layer__view-header__content .Layer__heading {
1705
+ align-self: flex-start;
1706
+ }
1707
+ }
1681
1708
  .Layer__ledger-account__index {
1682
1709
  background-color: var(--color-base-0);
1683
1710
  width: 100%;
@@ -2242,6 +2269,7 @@
2242
2269
  display: flex;
2243
2270
  gap: var(--spacing-sm);
2244
2271
  flex: 1;
2272
+ align-items: center;
2245
2273
  }
2246
2274
  .Layer__expanded-bank-transaction-row__table-cell--split-entry__merge-btn {
2247
2275
  width: 36px;
@@ -4581,11 +4609,14 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
4581
4609
  display: none;
4582
4610
  }
4583
4611
  .Layer__profit-and-loss-detailed-charts {
4584
- width: 480px;
4612
+ width: 100%;
4585
4613
  background: var(--color-base-0);
4586
4614
  }
4615
+ .Layer__profit-and-loss-detailed-charts .chart-field {
4616
+ width: 100%;
4617
+ }
4587
4618
  .Layer__profit-and-loss-detailed-charts .chart-container {
4588
- width: 480px;
4619
+ width: 100%;
4589
4620
  height: 280px;
4590
4621
  padding-top: var(--spacing-2xl);
4591
4622
  padding-bottom: var(--spacing-lg);
@@ -4784,6 +4815,9 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
4784
4815
  flex-direction: row;
4785
4816
  justify-content: space-between;
4786
4817
  }
4818
+ .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__content .chart-field {
4819
+ max-width: 300px;
4820
+ }
4787
4821
  .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__content .chart-container {
4788
4822
  max-width: 300px;
4789
4823
  }
@@ -4907,6 +4941,14 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
4907
4941
  .Layer__component.Layer__accounting-overview-profit-and-loss .recharts-responsive-container {
4908
4942
  margin-top: -42px;
4909
4943
  }
4944
+ .accounting-overview-profit-and-loss-charts > .Layer__toggle {
4945
+ display: none;
4946
+ }
4947
+ @container (max-width: 1023px) {
4948
+ .Layer__accounting-overview-profit-and-loss .recharts-legend-wrapper {
4949
+ margin-top: -40px;
4950
+ }
4951
+ }
4910
4952
  @container (max-width: 796px) {
4911
4953
  .Layer__accounting-overview__summaries-row {
4912
4954
  flex-direction: column;
@@ -4918,5 +4960,14 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
4918
4960
  .Layer__accounting-overview__summaries-row .Layer__notification-card.Layer__txs-to-review {
4919
4961
  width: 100%;
4920
4962
  }
4963
+ .accounting-overview-profit-and-loss-charts {
4964
+ flex-direction: column;
4965
+ }
4966
+ .accounting-overview-profit-and-loss-charts > .Layer__toggle {
4967
+ display: flex;
4968
+ }
4969
+ .Layer__component.Layer__accounting-overview-profit-and-loss-chart.accounting-overview-profit-and-loss-chart--hidden {
4970
+ display: none;
4971
+ }
4921
4972
  }
4922
4973
  /*# sourceMappingURL=index.css.map */