Skip to content

Commit

Permalink
fix (web components): height clamp box sizing select (#16347)
Browse files Browse the repository at this point in the history
* add height clamp and box sizing for select

* Change files

Co-authored-by: Seth Donohue <sethdonohue@Admins-MBP.guest.corp.microsoft.com>
  • Loading branch information
SethDonohue and Seth Donohue authored Jan 4, 2021
1 parent 62d455a commit 981bbd2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "add height clamp and box sizing for select",
"packageName": "@fluentui/web-components",
"email": "sethdonohue@Admins-MBP.guest.corp.microsoft.com",
"dependentChangeType": "patch",
"date": "2021-01-04T18:10:23.659Z"
}
2 changes: 2 additions & 0 deletions packages/web-components/src/select/select.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ export const SelectStyles = css`
background: ${neutralFillInputRestBehavior.var};
border-radius: calc(var(--corner-radius) * 1px);
border: calc(var(--outline-width) * 1px) solid ${neutralOutlineRestBehavior.var};
box-sizing: border-box;
color: ${neutralForegroundRestBehavior.var};
contain: contents;
height: calc(${heightNumber} * 1px);
position: relative;
user-select: none;
min-width: 250px;
Expand Down

0 comments on commit 981bbd2

Please sign in to comment.