Skip to content

Commit

Permalink
Merge pull request #1601 from mozilla/fix-odd-edit-arrow-alignment
Browse files Browse the repository at this point in the history
fix odd edit arrow alignment
  • Loading branch information
groovecoder authored Dec 9, 2019
2 parents e44fcdf + b0661f7 commit fca5caa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
17 changes: 10 additions & 7 deletions src/css/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -754,21 +754,24 @@ span ~ .panel-header-text {
background: var(--primary-action-color);
block-size: 100%;
color: #fff;
display: flex;
flex: 1;
display: inline-block;
justify-content: center;
padding-block-start: 6px;
padding-inline-start: 30%;
}

.exit-edit-mode-link::before {
background: url('/img/container-arrow.svg') no-repeat;
.edit-containers-panel-footer {
background: var(--primary-action-color);
}

.exit-edit-mode-link img {
block-size: 16px;
content: "";
display: block;
display: inline;
filter: grayscale(100%) brightness(5);
float: left;
inline-size: 16px;
margin-inline-end: 5px;
transform: scaleX(-1);
vertical-align: bottom;
}

.delete-container-confirm {
Expand Down
5 changes: 3 additions & 2 deletions src/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,9 @@ <h3 class="panel-header-text">Edit Containers</h3>
</table>
</div>
<div class="panel-footer edit-containers-panel-footer">
<a href="#" id="exit-edit-mode-link" class="exit-edit-mode-link edit-containers-exit-text">Exit Edit Mode</a>
</div>
<a href="#" id="exit-edit-mode-link" class="exit-edit-mode-link edit-containers-exit-text">
<img src="/img/container-arrow.svg"/>Exit Edit Mode</a>
</div>
</div>


Expand Down

0 comments on commit fca5caa

Please sign in to comment.