Skip to content

Commit

Permalink
fix: correct icononly Picker width
Browse files Browse the repository at this point in the history
  • Loading branch information
lazd committed Feb 2, 2021
1 parent 04dfbce commit b165e11
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions components/picker/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@ governing permissions and limitations under the License.
@import "../commons/basebutton.css";
@import "../vars/css/components/spectrum-picker.css";

.spectrum-Picker {
/* todo: remove when fixed in DNA */
--spectrum-picker-min-width: var(--spectrum-global-dimension-size-400);

/* Todo: fix in DNA, should have been zero */
--spectrum-picker-disabled-border-size: 0;

--spectrum-picker-popover-max-width: var(--spectrum-global-dimension-size-3000);
--spectrum-picker-width: var(--spectrum-global-dimension-size-2400);

/* todo: use real DNA var */
--spectrum-picker-border-size-increase-focus: 1px;
}

.spectrum-Picker {
@inherit: %spectrum-BaseButton;

Expand Down Expand Up @@ -103,6 +89,20 @@ governing permissions and limitations under the License.
}
}

.spectrum-Picker {
/* todo: remove when fixed in DNA */
--spectrum-picker-min-width: var(--spectrum-global-dimension-size-400);

/* Todo: fix in DNA, should have been zero */
--spectrum-picker-disabled-border-size: 0;

--spectrum-picker-popover-max-width: var(--spectrum-global-dimension-size-3000);
--spectrum-picker-width: var(--spectrum-global-dimension-size-2400);

/* todo: use real DNA var */
--spectrum-picker-border-size-increase-focus: 1px;
}

.spectrum-Picker--quiet {
@remapvars {
find: /--spectrum-picker-quiet-m(.*)/;
Expand Down

0 comments on commit b165e11

Please sign in to comment.