discourse/app/assets/stylesheets/common/components/pinned-button.scss
Joffrey JAFFEUX e924920bec uses select-box for pinned-button
This commit also moves more logic in dropdown-select-box instead of
duplicating it for notifications-options and pinned-options
2017-09-11 19:14:22 +02:00

45 lines
656 B
SCSS

#topic-footer-buttons {
.pinned-button {
min-width: auto;
margin: 10px 0 5px 0;
&.is-hidden {
display: none;
}
.btn {
margin: 0;
}
.reason {
line-height: 16px;
margin: 0 0 0 10px;
a {
margin-left: 3px;
margin-right: 3px;
}
}
}
}
.pinned-button {
display: flex;
justify-content: flex-start;
align-items: center;
margin: 0;
min-width: auto;
.pinned-options, .reason {
display: inline-flex;
}
.pinned-options.pinned-options.pinned-options {
.select-box-body {
min-width: unset;
max-width: unset;
width: 550px;
}
}
}