Commit 10813d3b authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch '336272-tables-transpose' into 'master'

Fix transposed rows and cols

See merge request gitlab-org/gitlab!66287
parents c4660d6c a1f3afb4
......@@ -71,10 +71,10 @@ export default {
<gl-dropdown size="small" category="tertiary" icon="table">
<gl-dropdown-form class="gl-px-3! gl-w-auto!">
<div class="gl-w-auto!">
<div v-for="c of list(maxCols)" :key="c" class="gl-display-flex">
<div v-for="r of list(maxRows)" :key="r" class="gl-display-flex">
<gl-button
v-for="r of list(maxRows)"
:key="r"
v-for="c of list(maxCols)"
:key="c"
:data-testid="`table-${r}-${c}`"
:class="{ 'gl-bg-blue-50!': r <= rows && c <= cols }"
:aria-label="getButtonLabel(r, c)"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment