(core) Styling text button for left alignment

Summary: Adding text alignment for text buttons.

Test Plan: Existing.

Reviewers: JakubSerafin

Reviewed By: JakubSerafin

Differential Revision: https://phab.getgrist.com/D3884
This commit is contained in:
Jarosław Sadziński 2023-04-26 15:33:12 +02:00
parent 3513c1e8d2
commit 0bc758e3d0
2 changed files with 2 additions and 1 deletions

View File

@ -279,7 +279,7 @@ export class RightPanel extends Disposable {
cssSeparator(),
cssSection(
dom.maybe(refSelect.isForeignRefCol, () => [
cssLabel('Add referenced columns'),
cssLabel(t('Add referenced columns')),
cssRow(refSelect.buildDom()),
cssSeparator()
]),

View File

@ -106,6 +106,7 @@ export const bigPrimaryButtonLink = tbind(button, null, {link: true, large: true
export const textButton = styled(cssButton, `
border: none;
padding: 0px;
text-align: left;
background-color: inherit !important;
&:disabled {
color: ${theme.controlPrimaryDisabled};