kopia lustrzana https://github.com/shoelace-style/shoelace
change default dropdown distance
rodzic
eac07a51ba
commit
e1471ec9a1
|
@ -19,6 +19,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
|
||||||
- Added the `--speed` custom property to `<sl-spinner>`
|
- Added the `--speed` custom property to `<sl-spinner>`
|
||||||
- Added the `--size` and `--track-width` custom properties to `<sl-progress-ring>`
|
- Added the `--size` and `--track-width` custom properties to `<sl-progress-ring>`
|
||||||
- Added tests for `<sl-badge>` [#530](https://github.com/shoelace-style/shoelace/pull/530)
|
- Added tests for `<sl-badge>` [#530](https://github.com/shoelace-style/shoelace/pull/530)
|
||||||
|
- Changed the default `distance` in `<sl-dropdown>` from `2` to `0`
|
||||||
- Fixed a bug where `<sl-tab>` wasn't using a border radius token [#523](https://github.com/shoelace-style/shoelace/issues/523)
|
- Fixed a bug where `<sl-tab>` wasn't using a border radius token [#523](https://github.com/shoelace-style/shoelace/issues/523)
|
||||||
- Fixed a bug in the Remix Icons example where some icons would 404 [#528](https://github.com/shoelace-style/shoelace/issues/528)
|
- Fixed a bug in the Remix Icons example where some icons would 404 [#528](https://github.com/shoelace-style/shoelace/issues/528)
|
||||||
- Updated `<sl-progress-ring>` to use only CSS for styling
|
- Updated `<sl-progress-ring>` to use only CSS for styling
|
||||||
|
|
|
@ -79,7 +79,7 @@ export default class SlDropdown extends LitElement {
|
||||||
@property({ attribute: false }) containingElement: HTMLElement;
|
@property({ attribute: false }) containingElement: HTMLElement;
|
||||||
|
|
||||||
/** The distance in pixels from which to offset the panel away from its trigger. */
|
/** The distance in pixels from which to offset the panel away from its trigger. */
|
||||||
@property({ type: Number }) distance = 2;
|
@property({ type: Number }) distance = 0;
|
||||||
|
|
||||||
/** The distance in pixels from which to offset the panel along its trigger. */
|
/** The distance in pixels from which to offset the panel along its trigger. */
|
||||||
@property({ type: Number }) skidding = 0;
|
@property({ type: Number }) skidding = 0;
|
||||||
|
|
Ładowanie…
Reference in New Issue