Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions common/changes/1664_PanelCloseButton_2017-05-01-23-02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "Panel: Updating the close button's height, container, margin, and size slightly.",
"type": "patch"
}
],
"email": "v-algemb@microsoft.com"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $Panel-width-lg: 940px;
$Panel-margin-md: 48px;
$Panel-margin-lg: 428px;
$Panel-margin-xl: 176px;
$CommandBarHeight: 40px;
$CommandBarHeight: 44px;

.root {
display: none;
Expand Down Expand Up @@ -193,18 +193,18 @@ $CommandBarHeight: 40px;
}
}

// The button in the top right (x)
// The button in the top right (x)
.closeButton {
@include button-reset();
position: absolute;
@include right(8px);
@include right(4px);
top: 0;
height: $CommandBarHeight;
width: $CommandBarHeight;
line-height: $CommandBarHeight;
padding: 0;
color: $ms-color-neutralSecondary;
font-size: $ms-icon-size-m;
font-size: $ms-icon-size-l;

&:hover {
color: $ms-color-neutralPrimary;
Expand Down