Skip to content

Conversation

amolenaar
Copy link
Member

@amolenaar amolenaar commented Jan 4, 2025

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

Elements contained in a diagram frame have left aligned text.

image

What is the new behavior?

image

Also fixed the mapping from C4 elements to their icons.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

So nested elements are not left-aligned.
This was not done when we removed the `C4-` prefix from the
model elements.
@github-actions github-actions bot added the python Pull requests that update Python code label Jan 4, 2025
@danyeaw danyeaw added fix A fix for a bug and removed python Pull requests that update Python code labels Jan 4, 2025
@danyeaw danyeaw merged commit 6824fe1 into main Jan 4, 2025
25 checks passed
@danyeaw danyeaw deleted the fix-diagram-frame-alignment branch January 4, 2025 22:58
@danyeaw
Copy link
Member

danyeaw commented Jan 4, 2025

Thanks @amolenaar!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants