1
0
mirror of synced 2026-08-31 22:44:34 +00:00

UX: Default to wide tables (#16)

* UX: Default to 100% wide tables

* DEV: Change default spreadsheet rows/columns

Co-authored-by: Keegan George <kgeorge13@gmail.com>
This commit is contained in:
Penar Musaraj
2022-08-12 14:11:27 -04:00
committed by GitHub
parent ec42e4a022
commit a8f27d9131
3 changed files with 22 additions and 1 deletions
@@ -102,6 +102,9 @@ export default class SpreadsheetEditor extends Component {
["", "", ""],
["", "", ""],
["", "", ""],
["", "", ""],
["", "", ""],
["", "", ""],
];
const columns = [
@@ -123,6 +126,12 @@ export default class SpreadsheetEditor extends Component {
),
width: this.defaultColWidth,
},
{
title: I18n.t(
themePrefix("discourse_table_builder.default_header.col_4")
),
width: this.defaultColWidth,
},
];
return this.buildSpreadsheet(data, columns);