Skip to content

Commit dbb4b61

Browse files
committed
Merge pull request #3444 from cytoscape/copilot/fix-typo-text-align-property
docs: correct `text-halign` alignment description
1 parent 175c2c5 commit dbb4b61

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

documentation/md/style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ Wrapping text:
695695
696696
Node label alignment:
697697
698-
* **`text-halign`** : The vertical alignment of a node's label; may have value `left`, `center`, or `right`.
698+
* **`text-halign`** : The horizontal alignment of a node's label; may have value `left`, `center`, or `right`.
699699
* **`text-valign`** : The vertical alignment of a node's label; may have value `top`, `center`, or `bottom`.
700700
701701
Edge label alignment:

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5596,7 +5596,7 @@ declare namespace cytoscape {
55965596
*/
55975597

55985598
/**
5599-
* The vertical alignment of a node’s label.
5599+
* The horizontal alignment of a node’s label.
56005600
*/
56015601
"text-halign": PropertyValue<SingularType, "left" | "center" | "right">;
56025602
/**

0 commit comments

Comments
 (0)