@rogieking/figui3 8.9.27 → 8.9.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components.css CHANGED
@@ -1081,6 +1081,25 @@ fig-button {
1081
1081
  &:has(svg:first-child):not([icon]) {
1082
1082
  padding-left: var(--spacer-1);
1083
1083
  }
1084
+
1085
+ &[type="select"]{
1086
+ &[icon]:not([icon="false"]){
1087
+ width: auto;
1088
+ padding-right: var(--spacer-1);
1089
+ }
1090
+ fig-dropdown{
1091
+ position: absolute;
1092
+ inset: 0;
1093
+ z-index: 1;
1094
+ opacity: 0;
1095
+ }
1096
+ }
1097
+ &[type="select"]:not([icon]){
1098
+ fig-icon[slot="append"]{
1099
+ margin-right: calc(var(--spacer-1) * -1);
1100
+ margin-left: auto;
1101
+ }
1102
+ }
1084
1103
  }
1085
1104
 
1086
1105
  /* Combo button */
@@ -3464,9 +3483,9 @@ fig-header {
3464
3483
  width: 100%;
3465
3484
  }
3466
3485
 
3467
- & > h1,
3468
- & > h2,
3469
- & > h3{
3486
+ & > h1:first-child,
3487
+ & > h2:first-child,
3488
+ & > h3:first-child{
3470
3489
  flex: 1 1 auto;
3471
3490
  min-width: 0;
3472
3491
  display: flex;