mirror of
https://github.com/discourse/discourse-table-builder.git
synced 2026-09-17 23:32:14 -04:00
UX: Default to wide tables (#16)
* UX: Default to 100% wide tables * DEV: Change default spreadsheet rows/columns Co-authored-by: Keegan George <[email protected]>
This commit is contained in:
co-authored by
Keegan George
parent
ec42e4a022
commit
a8f27d9131
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user