Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Make color picker visible
Browse files Browse the repository at this point in the history
  • Loading branch information
Niharika Khanna committed Feb 15, 2018
1 parent f58f4c9 commit cf3aa76
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/pages/shot/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ exports.Editor = class Editor extends React.Component {
const penState = this.state.tool === "pen" ? "active" : "inactive";
const highlighterState = this.state.tool === "highlighter" ? "active" : "inactive";
return <div className="editor-header default-color-scheme">
<div className="shot-main-actions">
<div className="shot-main-actions annotation-main-actions">
<div className="annotation-tools">
<Localized id="annotationCropButton">
<button className={`button transparent crop-button`} id="crop" onClick={this.onClickCrop.bind(this)} title="Crop"></button>
Expand Down
6 changes: 6 additions & 0 deletions static/css/frame.scss
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ body {
display: flex;
justify-content: space-between;
height: 100px;
z-index: 2;

.button {
margin: $grid-unit * 0.25;
Expand Down Expand Up @@ -467,6 +468,10 @@ body {
}
}

.annotation-main-actions {
overflow: visible;
}

.annotation-alt-actions {
height: 72px;
@include respond-to("small") {
Expand All @@ -482,6 +487,7 @@ body {
justify-content: center;
position: relative;
flex: 1;
z-index: 1;

@include respond-to("small") {
top: $grid-unit * 4;
Expand Down

0 comments on commit cf3aa76

Please sign in to comment.