Skip to content

Commit

Permalink
Move relation-picker styles to relations.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
tkleinke committed Feb 11, 2025
1 parent 7f7fcf6 commit 8a78be0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
30 changes: 30 additions & 0 deletions desktop/src/app/components/docedit/relations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,33 @@
}
}
}

.relation-picker {
position: relative;
display: block;
width: 100%;
margin-bottom: 12px;

.red-button {
top: 50%;
right: 0;
transform: translateY(calc(-50% - 1px));
margin-bottom: 0;
box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(0, 0, 0, 0.14) !important;

.mdi {
position: relative;
bottom: 1px;
}
}

document-teaser {
display: block;
width: calc(100% - 40px);
}

.delete-relation {
margin-top: 1px !important;
padding-top: 5px !important;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,8 @@
* @author Thomas Kleinke
*/

.relation-picker {
.relation-picker ng-select {
position: relative;
display: block;
width: 100%;
margin-bottom: 12px;

ng-select {
position: relative;
top: 2px;
width: calc(100% - 50px);
}

.red-button {
top: 50%;
right: 0;
transform: translateY(calc(-50% - 1px));
margin-bottom: 0;
box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(0, 0, 0, 0.14) !important;

.mdi {
position: relative;
bottom: 1px;
}
}

document-teaser {
display: block;
width: calc(100% - 40px);
}

.delete-relation {
margin-top: 1px !important;
padding-top: 5px !important;
}
top: 2px;
width: calc(100% - 50px);
}

0 comments on commit 8a78be0

Please sign in to comment.