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

Changes horizontal orientation layout. #260

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

boyan-tonchev
Copy link
Collaborator

What

The layout orientation has been changed to horizontal.

Why

To improve the usage of the component. The old implementation had some issues with component height calculations when used on certain pages.

The problem arose due to the parent-child relations of the original implementation, which did not account for horizontal alignment of YASQE, YASR, and the tab list. We attempted to address this using flexbox, but encountered unexpected issues with the component's clients.

How

The flexbox implementation has been removed. Now, the width of YASQE, YASGUI, and the tab list is set to 50% when YASGUI mode is horizontal.

Added a listener that observes changes in the tabs list size. When the event occurs, the position of the YASR is recalculated to align it with the top of the tabs list component.

## What
The layout orientation has been changed to horizontal.

## Why
To improve the usage of the component. The old implementation had some issues with component height calculations when used on certain pages.

The problem arose due to the parent-child relations of the original implementation, which did not account for horizontal alignment of YASQE, YASR, and the tab list. We attempted to address this using flexbox, but encountered unexpected issues with the component's clients.

## How
The flexbox implementation has been removed. Now, the width of YASQE, YASGUI, and the tab list is set to 50% when YASGUI mode is horizontal.

Added a listener that observes changes in the tabs list size. When the event occurs, the position of the YASR is recalculated to align it with the top of the tabs list component.
@boyan-tonchev
Copy link
Collaborator Author

Jenkins retry

2 similar comments
@boyan-tonchev
Copy link
Collaborator Author

Jenkins retry

@boyan-tonchev
Copy link
Collaborator Author

Jenkins retry

@boyan-tonchev boyan-tonchev merged commit b91d176 into main Mar 15, 2024
1 check passed
@boyan-tonchev boyan-tonchev deleted the changes-horizontal-layout branch March 15, 2024 06:35
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.

None yet

2 participants