mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
Fix icon button alignment
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
- Added community page to the docs
|
||||
- Fixed a bug where many components would erroneously receive an `id` when using the custom elements bundle
|
||||
- Fixed a bug where tab groups weren't scrollable with the mouse
|
||||
- Fixed icon button alignment
|
||||
|
||||
## 2.0.0-beta.9
|
||||
|
||||
|
||||
@@ -58,6 +58,12 @@
|
||||
margin-right: calc(-1 * var(--sl-spacing-x-small));
|
||||
}
|
||||
|
||||
.button__label {
|
||||
::slotted(sl-icon) {
|
||||
vertical-align: -2px;
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Standard buttons
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -304,12 +310,6 @@
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
|
||||
.button__label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
&.button--small {
|
||||
width: var(--sl-input-height-small);
|
||||
border-radius: 50%;
|
||||
|
||||
Reference in New Issue
Block a user