ADDED: Mixins for icon buttons, but it's not completed feature
FIXED: Styles for segmented-button
This commit is contained in:
@@ -36,3 +36,24 @@ html
|
||||
background-color: var(--md-sys-color-surface)
|
||||
border-radius: 25px
|
||||
|
||||
button:not(.m3-fab, .m3-icon-button)
|
||||
@include m3-typography-mixin('label-large')
|
||||
|
||||
max-height: 40px
|
||||
width: min-content
|
||||
white-space: nowrap
|
||||
height: min-content
|
||||
box-sizing: border-box
|
||||
transition: background-color, box-shadow, .2s cubic-bezier(0.2, 0, 0, 1) !important
|
||||
|
||||
&.m3
|
||||
@include center(inline-flex)
|
||||
|
||||
gap: 8px
|
||||
border: none
|
||||
contain: content
|
||||
text-align: center
|
||||
padding: 10px 24px
|
||||
flex-direction: row
|
||||
border-radius: 100px
|
||||
box-sizing: border-box
|
||||
|
||||
Reference in New Issue
Block a user