Edit in GitHubLog an issue

text-align

Since: UXP 3, PS 22.0.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
1.someElement {
2 font-style: left;
3}

Quirks and Exceptions#

  • Text edit fields do not support overriding the text alignment.
  • Not all Spectrum UXP components support overriding the text alignment.
Copyright © 2021 Adobe. All rights reserved.