Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EPMUII-9032]. Vertical align meta data popup #197

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ui/Button/Button.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -235,4 +235,4 @@ button:hover,

.button_select_file svg {
margin-right: 10px;
}
}
4 changes: 2 additions & 2 deletions src/ui/Modals/ModalInfo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ const ModalInfo = (props) => {
return getVolInfo(volumeSet, volume);
}, [volumeSet, volumeIndex]);

const slicesInfo = dicomInfo.m_sliceInfo || [];
const tagsList = slicesInfo[currentSlice].m_tags || [];
const slicesInfo = dicomInfo?.m_sliceInfo || [];
const tagsList = slicesInfo[currentSlice]?.m_tags || [];

return (
<Modal isOpen={stateVis} close={onHide}>
Expand Down
17 changes: 17 additions & 0 deletions src/ui/Modals/ModalInfo.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
width: 100%;
border-collapse: collapse;
border: 1px solid var(--light);
display: block;
overflow-y: scroll;
height: 50vh;
}

.thead {
Expand All @@ -106,4 +109,18 @@
font-size: 14px;
border: 1px dashed var(--light);
word-break: break-word;
width: 172px;
}

::-webkit-scrollbar
{
width: 10px;
background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #dc5e47;
}
3 changes: 1 addition & 2 deletions src/ui/Modals/Modals.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
z-index: 1004;
position: absolute;
width: 93%;
top: 15vh;
top: 9vh;
left: 49%;
margin: 0 5px;
transform: translateX(-50%);
Expand Down Expand Up @@ -187,7 +187,6 @@
@media screen and (min-width: 768px) {
.modal {
width: 600px;
top: calc(50vh - 180px);
}

.cards {
Expand Down
Loading