Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix header element in the demo styleguide #632

Merged
merged 1 commit into from
Jun 2, 2015
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
22 changes: 18 additions & 4 deletions lib/app/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ body.sg {
border: 0;
}

.sg.clear {
clear: both;
}

// Colors and typography
//
// This section describes base colors and typography
Expand Down Expand Up @@ -379,6 +375,15 @@ input.sg {
@include media($mobile) {
padding-right: 0;
}

&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}

.title {
Expand Down Expand Up @@ -584,6 +589,15 @@ input.sg {
float: none;
}
}

&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}

.sg.toggle {
Expand Down
2 changes: 0 additions & 2 deletions lib/app/views/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ <h1 ng-if="status.hasError">Error: {{status.error.name}}</h1>
type="search"
ng-model-options="{ updateOn: 'default blur', debounce: {'default': 500, 'blur': 0} }"
autofocus>
<div class="sg clear"></div>
</div>
</header>
<nav class="sg top-nav" ng-class="{'designerToolVisible' : designerTool.isVisible}">
Expand Down Expand Up @@ -49,7 +48,6 @@ <h1 ng-if="status.hasError">Error: {{status.error.name}}</h1>
</li>
</ul>
</ul>
<div class="sg clear"></div>
</nav>
<div class="sg wrapper full-height" ng-class="{'designerToolVisible' : designerTool.isVisible, 'collapsed' : isNavCollapsed}">
<section ui-view class="sg body">
Expand Down