@rogieking/figui3 8.9.28 → 8.9.30

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 */