Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -365,13 +365,12 @@
.header-wrapper {
display: inline-block;
width: 72%;
width: calc(100% - 32px);
Copy link
Member

@yamgent yamgent Jul 27, 2018

Choose a reason for hiding this comment

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

32px is too small, one button is already 28px.

A panel can has as many as 3 buttons.

<panel header="This is a header" popup-url="https://www.yahoo.com">
This is some content.
</panel>

EDIT: @media (max-width: 575.98px) { also has a .header-wrapper as well, and that one can use 32px because they will all align in one vertical line.

}
.button-wrapper {
float: right;
display: inline-block;
width: 28%;
}
.header-toggle {
Expand Down