Skip to content

Commit

Permalink
Merge pull request #398 from ashmaroli/floating-side-buttons
Browse files Browse the repository at this point in the history
fix side-buttons to viewport
  • Loading branch information
mertkahyaoglu committed Jun 15, 2017
2 parents 1dd86b4 + d1b9fde commit 2b05386
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/styles/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,16 @@
.content-wrapper {
display: flex;
.content-body {
width: 100%;
width: calc(100% - #{$content-side-width} - 40px);
h1 {
margin: 0 0 30px 0;
font-size: 40px;
}
}
.content-side {
position: fixed;
right: 40px;
width: $content-side-width;
margin-left: 40px;
font-size: 16px;

.delete-link {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/variables.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$sidebar-width: 220px;
$content-side-width: 260px;
$content-side-width: 200px;

$orange: #ffcc00;
$dark-orange: #ff9900;
Expand Down

0 comments on commit 2b05386

Please sign in to comment.