mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Minor css alignment fix
This commit is contained in:
parent
8ce5cfc01b
commit
43ce1e8fd4
3 changed files with 4 additions and 1 deletions
|
|
@ -440,6 +440,7 @@ export const DropdownV2 = ({
|
|||
auto={labelAutoWidth}
|
||||
isMandatory={isMandatory}
|
||||
_width={_width}
|
||||
top={'1px'}
|
||||
/>
|
||||
<div className="w-100 px-0 h-100" ref={ref}>
|
||||
<Select
|
||||
|
|
|
|||
|
|
@ -438,6 +438,7 @@ export const MultiselectV2 = ({
|
|||
auto={auto}
|
||||
isMandatory={isMandatory}
|
||||
_width={_width}
|
||||
top={'1px'}
|
||||
/>
|
||||
<div
|
||||
className="w-100 px-0 h-100"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import React from 'react';
|
||||
function Label({ label, width, labelRef, color, defaultAlignment, direction, auto, isMandatory, _width }) {
|
||||
function Label({ label, width, labelRef, color, defaultAlignment, direction, auto, isMandatory, _width, top }) {
|
||||
return (
|
||||
<>
|
||||
{label && (width > 0 || auto) && (
|
||||
|
|
@ -31,6 +31,7 @@ function Label({ label, width, labelRef, color, defaultAlignment, direction, aut
|
|||
? '12px'
|
||||
: '',
|
||||
paddingLeft: label?.length > 0 && defaultAlignment === 'side' && direction != 'left' ? '12px' : '',
|
||||
...(top && { top }),
|
||||
}}
|
||||
>
|
||||
{label}
|
||||
|
|
|
|||
Loading…
Reference in a new issue