Improve styles in relationship dropdown

This commit is contained in:
Andrew Kingston 2023-04-17 16:31:42 +01:00
parent 5ae4c387db
commit e7482746c0
1 changed files with 3 additions and 2 deletions

View File

@ -376,7 +376,7 @@
top: 100%; top: 100%;
left: 0; left: 0;
width: 100%; width: 100%;
height: calc( max-height: calc(
var(--max-cell-render-height) + var(--row-height) - var(--max-cell-render-height) + var(--row-height) -
var(--max-relationship-height) var(--max-relationship-height)
); );
@ -386,6 +386,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: stretch; align-items: stretch;
padding: 0 0 8px 0;
} }
.dropdown.invertY { .dropdown.invertY {
transform: translateY(-100%); transform: translateY(-100%);
@ -428,7 +429,7 @@
flex: 0 0 calc(var(--default-row-height) - 1px); flex: 0 0 calc(var(--default-row-height) - 1px);
display: flex; display: flex;
align-items: center; align-items: center;
margin: 0 var(--cell-padding); margin: 4px var(--cell-padding);
width: calc(100% - 2 * var(--cell-padding)); width: calc(100% - 2 * var(--cell-padding));
} }
.search :global(.spectrum-Textfield) { .search :global(.spectrum-Textfield) {