Skip to content

Commit

Permalink
update distribution layout widget size
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita-Polyakov committed Mar 27, 2024
1 parent 2bf3dc4 commit a9205c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/shared/Widget/Base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ $left: $inner-spacing-medium;
&.full {
width: 100%;
height: 100%;
min-height: 100%;
flex: 1;
}
Expand Down
10 changes: 5 additions & 5 deletions src/views/Swap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default class Swap extends Mixins(mixins.LoadingMixin, TranslationMixin,
lg: [
{ x: 0, y: 0, w: 6, h: 20, minW: 4, minH: 20, i: SwapWidgets.Form },
{ x: 0, y: 20, w: 6, h: 4, minW: 4, minH: 4, i: SwapWidgets.Customise },
{ x: 0, y: 24, w: 6, h: 4, minW: 4, minH: 4, i: SwapWidgets.Distribution },
{ x: 0, y: 24, w: 6, h: 8, minW: 4, minH: 8, i: SwapWidgets.Distribution },
{ x: 6, y: 0, w: 9, h: 20, minW: 4, minH: 16, i: SwapWidgets.Chart },
{ x: 6, y: 20, w: 9, h: 16, minW: 4, minH: 16, i: SwapWidgets.PriceChartA },
{ x: 6, y: 36, w: 9, h: 16, minW: 4, minH: 16, i: SwapWidgets.PriceChartB },
Expand All @@ -109,7 +109,7 @@ export default class Swap extends Mixins(mixins.LoadingMixin, TranslationMixin,
md: [
{ x: 0, y: 0, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.Form },
{ x: 0, y: 20, w: 4, h: 4, minW: 4, minH: 4, i: SwapWidgets.Customise },
{ x: 0, y: 24, w: 4, h: 4, minW: 4, minH: 4, i: SwapWidgets.Distribution },
{ x: 0, y: 24, w: 4, h: 8, minW: 4, minH: 8, i: SwapWidgets.Distribution },
{ x: 4, y: 0, w: 6, h: 20, minW: 4, minH: 16, i: SwapWidgets.Chart },
{ x: 4, y: 20, w: 6, h: 16, minW: 4, minH: 16, i: SwapWidgets.PriceChartA },
{ x: 10, y: 0, w: 6, h: 20, minW: 4, minH: 20, i: SwapWidgets.Transactions },
Expand All @@ -118,7 +118,7 @@ export default class Swap extends Mixins(mixins.LoadingMixin, TranslationMixin,
sm: [
{ x: 0, y: 0, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.Form },
{ x: 0, y: 20, w: 4, h: 4, minW: 4, minH: 4, i: SwapWidgets.Customise },
{ x: 0, y: 24, w: 4, h: 4, minW: 4, minH: 4, i: SwapWidgets.Distribution },
{ x: 0, y: 24, w: 4, h: 8, minW: 4, minH: 8, i: SwapWidgets.Distribution },
{ x: 4, y: 0, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.Chart },
{ x: 4, y: 20, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.PriceChartA },
{ x: 8, y: 0, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.Transactions },
Expand All @@ -127,7 +127,7 @@ export default class Swap extends Mixins(mixins.LoadingMixin, TranslationMixin,
xs: [
{ x: 0, y: 0, w: 4, h: 4, minW: 4, minH: 4, i: SwapWidgets.Customise },
{ x: 0, y: 4, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.Form },
{ x: 0, y: 24, w: 4, h: 12, minW: 4, minH: 12, i: SwapWidgets.Distribution },
{ x: 0, y: 24, w: 4, h: 8, minW: 4, minH: 8, i: SwapWidgets.Distribution },
{ x: 0, y: 44, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.PriceChartA },
{ x: 4, y: 44, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.PriceChartB },
{ x: 4, y: 0, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.Chart },
Expand All @@ -136,7 +136,7 @@ export default class Swap extends Mixins(mixins.LoadingMixin, TranslationMixin,
xss: [
{ x: 0, y: 0, w: 4, h: 4, minW: 4, minH: 4, i: SwapWidgets.Customise },
{ x: 0, y: 4, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.Form },
{ x: 0, y: 24, w: 4, h: 12, minW: 4, minH: 12, i: SwapWidgets.Distribution },
{ x: 0, y: 24, w: 4, h: 8, minW: 4, minH: 8, i: SwapWidgets.Distribution },
{ x: 0, y: 36, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.Chart },
{ x: 0, y: 56, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.PriceChartA },
{ x: 0, y: 76, w: 4, h: 20, minW: 4, minH: 20, i: SwapWidgets.PriceChartB },
Expand Down

0 comments on commit a9205c1

Please sign in to comment.