(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
pull/507/head
Jarosław Sadziński 1 year ago
parent 3513c1e8d2
commit 0bc758e3d0

@ -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()
]),

@ -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};

Loading…
Cancel
Save