Skip to content

Update diagram frame styling #3708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 4, 2025
Merged

Update diagram frame styling #3708

merged 2 commits into from
Jan 4, 2025

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