mirror of
https://github.com/discourse/discourse.git
synced 2025-04-02 14:15:42 +08:00
UX: better outline support in sk components (#9510)
This commit is contained in:
parent
e733701887
commit
5c45363e67
app/assets
javascripts/select-kit/components
stylesheets/common/select-kit
@ -838,6 +838,12 @@ export default Component.extend(
|
||||
strategy: placementStrategy,
|
||||
placement: this.selectKit.options.placement,
|
||||
modifiers: [
|
||||
{
|
||||
name: "offset",
|
||||
options: {
|
||||
offset: [0, 2]
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "positionWrapper",
|
||||
phase: "afterWrite",
|
||||
|
@ -4,12 +4,6 @@
|
||||
margin-bottom: 5px;
|
||||
margin-left: 5px;
|
||||
|
||||
&.is-expanded {
|
||||
.select-kit-header {
|
||||
border: 1px solid $tertiary;
|
||||
}
|
||||
}
|
||||
|
||||
&.no-tags {
|
||||
.select-kit-header .selected-name {
|
||||
color: $primary-medium;
|
||||
|
@ -34,6 +34,10 @@
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.select-kit-header {
|
||||
outline: 1px solid $tertiary;
|
||||
}
|
||||
}
|
||||
|
||||
&.is-loading {
|
||||
|
Loading…
x
Reference in New Issue
Block a user