Skip to content
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

General: Reduce Sidebar Width #350

Merged
merged 5 commits into from
Apr 11, 2024
Merged

General: Reduce Sidebar Width #350

merged 5 commits into from
Apr 11, 2024

Conversation

matthiaslehnertum
Copy link
Collaborator

@matthiaslehnertum matthiaslehnertum commented Apr 10, 2024

This pull request reduces the width of Apollon's element sidebar to allow for more diagram editing space.

Checklist

  • I added multiple screenshots/screencasts of my UI changes

Motivation and Context

This change was made to occupy less space with Apollon's element sidebar especially when the editor is integrated into the Artemis Learning Management System.

Description

The elements in the element sidebar are scaled by a factor of 0.8 via CSS transform. This scaling matches the default zoom level used by the editors element canvas.

Steps for Testing

Test Coverage

File Branch Line

Screenshots

Prior sidebar size:

Screenshot 2024-04-10 at 23 22 27Screenshot 2024-04-10 at 23 22 16

Reduced sidebar size:
Screenshot 2024-04-11 at 09 04 56Screenshot 2024-04-11 at 09 04 45

Copy link
Member

@krusche krusche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshots look good 👍

@krusche krusche merged commit a43dc4e into develop Apr 11, 2024
5 checks passed
@krusche krusche deleted the feature/compact-sidebar branch April 11, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants