We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Grid system is currently limited to columns and you can't work with rows making it useless for more complex layouts.
At the moment a layout like this can't be achieved easily.
something like this would be ideal:
<x-grid columns="10"> <x-col span="1+2" span-y="1-3">cell 1</x-col> <x-col span="3+2">cell 2</x-col> <x-col span="5+4">cell 3</x-col> <x-col span="9+2">cell 4</x-col> <x-col span="3+4">cell 5</x-col> <x-col span="7+4" span-y="2-3">cell 6</x-col> <x-col span="3-6">cell 7</x-col> </x-grid>
This is how much nesting and code you need to achieve the above layout
this is the code
<x-grid class="debug" style="gap:1px"> <x-col> <x-grid> <x-col>grid>cell>grid>cell</x-col> </x-grid> </x-col> <x-col span="2.."> <x-grid class="debug" style="width:100%; gap:1px"> <x-col span="1+1">grid>cell>grid>cell</x-col> <x-col span="2-3">grid>cell>grid>cell</x-col> <x-col span="4..">grid>cell>grid>cell</x-col> <x-col span="row"> <x-grid columns="2" class="debug" style="width:100%; gap:1px"> <x-col> <x-grid class="debug" style="width:100%; gap:1px"> <x-col span="row">grid>cell>grid>cell>grid>cell>grid>cell</x-col> <x-col span="row">grid>cell>grid>cell>grid>cell>grid>cell</x-col> </x-grid> </x-col> <x-col>grid>cell>grid>cell>grid>cell</x-col> </x-grid> </x-col> </x-grid> </x-col> </x-grid>
The text was updated successfully, but these errors were encountered:
thagxt
No branches or pull requests
The Grid system is currently limited to columns and you can't work with rows making it useless for more complex layouts.
At the moment a layout like this can't be achieved easily.
![complex-grid-example](https://user-images.githubusercontent.com/14300778/144776853-44db6115-f8ed-49a9-aca1-0223adcae44e.png)
something like this would be ideal:
This is how much nesting and code you need to achieve the above layout
![complex-grid-example-2](https://user-images.githubusercontent.com/14300778/144777226-d4d47c0a-e019-4dbf-9732-63b103439546.png)
this is the code
The text was updated successfully, but these errors were encountered: