Skip to content

Commit

Permalink
Fix width of add tag form
Browse files Browse the repository at this point in the history
  • Loading branch information
sienori committed Sep 24, 2018
1 parent 0500961 commit 90db09c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/popup/styles/InputForm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ $transition: 150ms ease;
font-size: inherit;
width: 100%;
max-width: inherit;
min-width: 10px;
height: calc(100% - 4px);
border: var(--button) solid 1px;
border-radius: 2px 0px 0px 2px;
Expand Down
9 changes: 3 additions & 6 deletions src/popup/styles/TagsContainer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@
}

&.isOpen {
width: 100%;
.addTagInput {
max-width: 100%;
width: 100%;
visibility: visible;
opacity: 1;
transition: max-width visibility, opacity 0ms;
margin-right: 1px;
}
.showInputButton svg {
transform: rotate(45deg);
Expand All @@ -121,11 +121,8 @@
}
&.isClose {
.addTagInput .inputForm {
max-width: 0px;
padding: 0px;
visibility: hidden;
opacity: 0;
transition: max-width visibility, opacity 0ms;
}
.showInputButton svg {
transition: transform 50ms;
Expand Down

0 comments on commit 90db09c

Please sign in to comment.