Skip to content

Commit

Permalink
#1669 Refactor updatable fields to fix the edit icon
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Nov 19, 2020
1 parent 8d0dd41 commit f7c0620
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 21 deletions.
11 changes: 2 additions & 9 deletions frontend/app/styles/custom-fields.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/* .custom-field-input dd {
overflow: hidden;
.custom-field-input dd {
overflow-x: auto;
}
div.custom-field-input-wrapper {
max-width: 100%;
text-overflow: ellipsis;
}
*/
20 changes: 8 additions & 12 deletions frontend/app/styles/updatable.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
.updatable-input {
/* border: 1px solid green; */
}

.updatable-input .updatable-value {
vertical-align: top;
white-space: pre-wrap
white-space: pre-wrap;
}

.updatable-input .updatable-input-value-wrapper {
position: relative;
display: inline-block;
border-bottom: 1px solid #fff;
padding-right: 20px;
}

.updatable-input .updatable-input-value-wrapper:hover{
Expand All @@ -30,17 +27,16 @@
}

.updatable-input .updatable-input-value-wrapper:hover .updatable-input-icon {
display: block;
}

.updatable-input.updatable-input-tags {

display: inline-block;
position: absolute;
top: 0;
right: 0;
}

.updatable-input.updatable-input-text .updatable-input-markdown {
cursor: auto;
}
.updatable-input.updatable-input-text .updatable-input-markdown .updatable-input-icon {
float:left;
margin-left: 0;
/* float:left;
margin-left: 0; */
}

0 comments on commit f7c0620

Please sign in to comment.