Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

JS Site bug fixes #269

Merged
merged 21 commits into from
Jan 12, 2017
Merged

JS Site bug fixes #269

merged 21 commits into from
Jan 12, 2017

Conversation

leddie24
Copy link
Collaborator

Documentation bug fixes

Edward Liu and others added 19 commits January 9, 2017 11:50
…der nav

#296002 Fabric JS Website Bug:  SearchBox z-index issues
#295990 Fabric JS Website Bug: Copyright banner in the HTML
#296008 Fabric JS Website Bug: Persona initials variant needs to be capitalized
@mikewheaton
Copy link
Contributor

mikewheaton commented Jan 11, 2017

Approved

Approved with PullApprove

Copy link
Collaborator

@Jahnp Jahnp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

text-align: center;


Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit, but is there a reason for this extra whitespace? If not I'd probably take it out.

}


.ms-TableData {
tbody {
td {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: since there's just one property change, rather than nesting, this selector could be shortened to tbody td {...}

@@ -203,7 +208,7 @@
pageNavLinks[i].addEventListener("click", scrollToLink)
}

const CONTAINER = $('body');
const CONTAINER = $('body, html');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldnt be using jQuery at all actually. Can we use
document.querySelectorAll('body, html');

@@ -11,7 +11,7 @@ $od-Header-bannerWidth: 1300px;
right: 0;
top: 0;
width: 100%;
z-index: 9;
z-index: 12;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably be using the Fabric z-index classes.


// Base Layer Variables
$ms-zIndex-0: 0 !default;
$ms-zIndex-1: 100 !default;
$ms-zIndex-2: 200 !default;
$ms-zIndex-3: 300 !default;
$ms-zIndex-4: 400 !default;
$ms-zIndex-5: 500 !default;

// Base Layer Modifier Variables
$ms-zIndex-back:   0 !default;
$ms-zIndex-middle: 5 !default;
$ms-zIndex-front:  10 !default;

@@ -2,7 +2,7 @@
.pageHeader {
@include fullWidth();
position: relative;
z-index: 6;
z-index: 11;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

<li><a href="http://msdn.microsoft.com/en-US/cc300389" target="_blank">Terms of use</a></li>
<li><a href="http://www.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx" target="_blank">Trademarks</a></li>
</ul>
<div class="od-OfficeFooter-microsoft">
<img src="{{relativePath}}images/logo-microsoft.png" width="123" height="24" alt="Microsoft logo" />
<div>&copy; 2016 Microsoft</div>
<div>&copy; 2017 Microsoft</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make our lives easier and use.

new Date().getFullYear()

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How often does the year change, really? Every couple of years? Seems like an over-optimization.

@gokunymbus
Copy link
Contributor

gokunymbus commented Jan 12, 2017

Approved

Approved with PullApprove

@leddie24 leddie24 merged commit c9a4e40 into master Jan 12, 2017
@leddie24 leddie24 deleted the leddie24/jssite-bugs branch January 12, 2017 22:08
@mikewheaton mikewheaton added this to the 1.4.0 milestone Feb 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants