Edit in GitHubLog an issue

text-align

Since UXP v3.0

Aligns text within its parent container. Supports left, center, right.

See: https://developer.mozilla.org/en/docs/Web/CSS/text-align.

Example

Copied to your clipboard
.someElement {
font-style: left;
}

Quirks and Exceptions

  • Text edit fields do not support overriding the text alignment.
  • Not all Spectrum UXP components support overriding the text alignment.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.