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

[4.0] Responsive toolbar #26331

Closed
brianteeman opened this issue Sep 16, 2019 · 4 comments
Closed

[4.0] Responsive toolbar #26331

brianteeman opened this issue Sep 16, 2019 · 4 comments

Comments

@brianteeman
Copy link
Contributor

Is it the intended behaviour that as soon as the screen width drops below 1200px that the option and help buttons are no longer separated from the other toolbar buttons and floated right?

image

@brianteeman
Copy link
Contributor Author

and the same question for search and filters
image

@brianteeman
Copy link
Contributor Author

anyone?

@infograf768
Copy link
Member

infograf768 commented Oct 16, 2019

For Options/Help, CSS is

@media (max-width: 1199.98px) {
  .btn-toolbar > joomla-toolbar-button,
  .btn-toolbar > .btn-group {
    margin-left: 0 !important;
    margin-right: 0.75rem;
    margin-bottom: 0.75rem; } }

which margin-left overrides ml-auto

For Search and Filters it is

@media (max-width: 1199.98px) {
  .js-stools {
    justify-content: flex-start; }. // Instead of flex-end
    .js-stools .js-stools-container-bar .btn-toolbar {
      /*! justify-content: flex-start; */ } }

Looks like we have no intermediary max-width between 1199.98px and 575.98px (for example 991.98px)

One aspect to consider and makes it hard to decide the max-width is the change in available width when the admin menu is toggled.

@brianteeman
Copy link
Contributor Author

Closed as no longer an issue

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

No branches or pull requests

3 participants