mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Co-authored-by: Syed Abdul Rahman <137684137+S-Abdul-Rahman@users.noreply.github.com>
This commit is contained in:
parent
20c0f4918a
commit
42f3dd8aea
2 changed files with 13 additions and 12 deletions
|
|
@ -242,7 +242,7 @@ const DropDownSelect = ({
|
|||
style={{
|
||||
position: 'relative',
|
||||
left: '-10px',
|
||||
top: selected.label === null || selected.label === undefined ? '0px' : '2px',
|
||||
top: selected.label === null || selected.label === undefined || isCellEdit ? '0px' : '2px',
|
||||
paddingLeft: '10px',
|
||||
paddingBottom: '4px',
|
||||
}}
|
||||
|
|
@ -251,10 +251,11 @@ const DropDownSelect = ({
|
|||
setShowMenu(true);
|
||||
}}
|
||||
>
|
||||
<span
|
||||
<p
|
||||
className={cx({
|
||||
'd-flex align-items-center justify-content-center':
|
||||
'd-flex align-items-center justify-content-center m-0':
|
||||
selected.label === null || selected.label === undefined,
|
||||
'cell-menu-text m-0': selected.label !== null || selected.label !== undefined,
|
||||
})}
|
||||
style={{
|
||||
color: darkMode ? '#fff' : '',
|
||||
|
|
@ -263,7 +264,7 @@ const DropDownSelect = ({
|
|||
}}
|
||||
>
|
||||
{selected.label === null || selected.label === undefined ? 'Null' : selected.label}
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
) : (
|
||||
<div className={`col-auto ${buttonClasses}`} id={popoverBtnId.current}>
|
||||
|
|
|
|||
|
|
@ -171,15 +171,15 @@
|
|||
div {
|
||||
padding-bottom: 0px !important;
|
||||
|
||||
span {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 85%;
|
||||
.cell-menu-text {
|
||||
white-space: nowrap ;
|
||||
overflow: hidden ;
|
||||
text-overflow: ellipsis ;
|
||||
width: 85% ;
|
||||
color: var(--slate11) !important;
|
||||
cursor: default;
|
||||
border-radius: 6px;
|
||||
height: 20px;
|
||||
// height: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
|
@ -190,7 +190,7 @@
|
|||
.tjdb-td-wrapper {
|
||||
div {
|
||||
padding-bottom: 0px !important;
|
||||
span {
|
||||
.cell-menu-text {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
@ -198,7 +198,7 @@
|
|||
color: var(--slate11) !important;
|
||||
cursor: default;
|
||||
border-radius: 6px;
|
||||
height: 20px;
|
||||
// height: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue