Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Configurable sidebar width and preventing overlap of fixed headers#54

Merged
sled merged 4 commits intomasterfrom
sled-add-sidebar-width-variable
Jul 28, 2016
Merged

Configurable sidebar width and preventing overlap of fixed headers#54
sled merged 4 commits intomasterfrom
sled-add-sidebar-width-variable

Conversation

@sled
Copy link
Contributor

@sled sled commented Jul 27, 2016

I added a variable $mtl-layout-default-sidenav-width which allows to configure the sidebar width. However the primary reason is that in case of a fixed header there was an overlap on the right side due to the combination of width: 100%; and a left padding (sidebar).

The specific use case is something like:

= mtl_header class: 'navbar-fixed' do
  %ul.right
    %li
      = mtl_button 'Save', '#'

In this case the button disappears due to an overflow to the right and is not visible

@marcopluess Do you approve the CSS? 😄

@lwe
Copy link
Contributor

lwe commented Jul 28, 2016

👍 looks good for me

@marcopluess
Copy link

👍

@sled sled merged commit f2de1aa into master Jul 28, 2016
@lwe lwe deleted the sled-add-sidebar-width-variable branch July 28, 2016 08:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants