Skip to content

Commit

Permalink
Text-align: left -> start
Browse files Browse the repository at this point in the history
  • Loading branch information
radimvaculik committed Jan 6, 2023
1 parent 9b38da2 commit de3df6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .docs/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function createComponentLocalizationGrid($name): Ublaboo\DataGrid\DataGri
$grid->setDataSource($this->ndb->table('ublaboo_example'));

$grid->addColumnNumber('id', 'Id')
->setAlign('left')
->setAlign('start')
->setSortable();

$grid->addColumnText('name', 'Name')
Expand Down
2 changes: 1 addition & 1 deletion src/Column/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ public function hasAlign(): bool
*/
public function getAlign(): string
{
return $this->align ?? 'left';
return $this->align ?? 'start';
}


Expand Down

0 comments on commit de3df6b

Please sign in to comment.