Skip to content

Commit 9083c6e

Browse files
decreased size of font
1 parent 7cb06b1 commit 9083c6e

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

dqops/src/main/frontend/src/components/ColumnList/ColumnListItem.tsx

+8-8
Original file line numberDiff line numberDiff line change
@@ -136,21 +136,21 @@ export default function SchemaTableItem({
136136
};
137137

138138
return (
139-
<tr className="text-sm my-3">
139+
<tr className="text-xs my-3">
140140
{(!checkTypes || !connection || !schema) && (
141141
<>
142142
{!connection && (
143143
<td className="content-start pt-2 max-w-72 min-w-50 whitespace-normal break-all">
144144
<Button
145-
className="ml-4 !px-0 underline cursor-pointer text-sm py-0 text-start "
145+
className="ml-4 !px-0 underline cursor-pointer text-xs py-0 text-start "
146146
label={item.connection_name}
147147
onClick={() => goToConnection(item)}
148148
/>
149149
</td>
150150
)}
151151
<td className="content-start pt-2 max-w-72 min-w-50 whitespace-normal break-all">
152152
<Button
153-
className="ml-4 !px-0 underline cursor-pointer text-sm py-0 text-start"
153+
className="ml-4 !px-0 underline cursor-pointer text-xs py-0 text-start"
154154
label={item.schema}
155155
onClick={() => goToSchema(item)}
156156
/>
@@ -159,22 +159,22 @@ export default function SchemaTableItem({
159159
)}
160160
<td className="content-start pt-2 max-w-72 min-w-50 whitespace-normal break-all">
161161
<Button
162-
className="ml-4 !px-0 underline cursor-pointer text-sm py-0 text-start"
162+
className="ml-4 !px-0 underline cursor-pointer text-xs py-0 text-start"
163163
label={item.table?.table_name}
164164
onClick={() => goToTable(item, checkTypes)}
165165
/>
166166
</td>
167167
<td className="content-start pt-2 max-w-72 min-w-50 whitespace-normal break-all">
168168
<Button
169-
className="ml-4 !px-0 underline cursor-pointer text-sm py-0 text-start"
169+
className="ml-4 !px-0 underline cursor-pointer text-xs py-0 text-start"
170170
label={item.column_name}
171171
onClick={() => goToColumn(item, checkTypes)}
172172
/>
173173
</td>{' '}
174-
<td className="px-4 text-sm content-start pt-2">
174+
<td className="px-4 text-xs content-start pt-2">
175175
{prepareString(item.type_snapshot?.column_type, 15)}
176176
</td>
177-
<td className="px-4 text-sm content-start pt-2">
177+
<td className="px-4 text-xs content-start pt-2">
178178
{getLabelsOverview(item?.labels ?? [])}
179179
</td>
180180
{item?.data_quality_status?.dimensions ? (
@@ -184,7 +184,7 @@ export default function SchemaTableItem({
184184
dimensionKeys={dimensionKeys}
185185
/>
186186
<td>
187-
<div className="flex gap-x-2 items-center justify-center mr-3">
187+
<div className="flex gap-x-2 items-center justify-center mx-3">
188188
<SvgIcon
189189
name="data_sources"
190190
className="w-5 h-5"

dqops/src/main/frontend/src/components/ColumnList/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function ColumnList({
135135
<div className="w-[280px]">
136136
<SectionWrapper
137137
title="Filter by labels"
138-
className="text-sm w-[250px] mx-4 mb-4 mt-6 "
138+
className="text-xs w-[250px] mx-4 mb-4 mt-6 "
139139
>
140140
{labels.map((label, index) => (
141141
<div

dqops/src/main/frontend/src/components/ColumnList/renderItem.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const renderItem = (label: string, key: string, toRotate?: boolean) => {
1717

1818
return (
1919
<th
20-
className="px-4 "
20+
className="px-4 text-xs"
2121
key={key}
2222
style={
2323
toRotate
@@ -35,9 +35,9 @@ const renderItem = (label: string, key: string, toRotate?: boolean) => {
3535
>
3636
<span
3737
className={clsx(
38-
'inline-block',
38+
'inline-block text-xs',
3939
toRotate ? 'rotate-90 origin-bottom-left' : '',
40-
label === 'Actions' ? 'ml-3' : ''
40+
label === 'Actions' ? 'ml-6' : ''
4141
)}
4242
style={
4343
toRotate

dqops/src/main/frontend/src/components/LabelsSectionWrapper/LabelsSectionWrapper.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function LabelsSectionWrapper({
2525
return (
2626
<SectionWrapper
2727
title="Filter by labels"
28-
className={clsx('text-sm w-[250px] mx-4 mb-4 mt-6 ', className)}
28+
className={clsx('text-xs w-[250px] mx-4 mb-4 mt-6 ', className)}
2929
>
3030
{labels.map((label, index) => (
3131
<div

dqops/src/main/frontend/src/pages/Schema/SchemaTableItem.tsx

+7-7
Original file line numberDiff line numberDiff line change
@@ -112,21 +112,21 @@ export default function SchemaTableItem({
112112
};
113113

114114
return (
115-
<tr className="text-sm my-3">
115+
<tr className="text-xs my-3">
116116
{(!checkTypes || !connection || !schema) && (
117117
<>
118118
{!connection && (
119119
<td className="content-start pt-2 max-w-72 min-w-50 whitespace-normal break-all">
120120
<Button
121-
className="ml-4 !px-0 underline cursor-pointer text-sm py-0 text-start "
121+
className="ml-4 !px-0 underline cursor-pointer text-xs py-0 text-start "
122122
label={item.connection_name}
123123
onClick={() => goToConnection(item)}
124124
/>
125125
</td>
126126
)}
127127
<td className="content-start pt-2 max-w-72 min-w-50 whitespace-normal break-all">
128128
<Button
129-
className="ml-4 !px-0 underline cursor-pointer text-sm py-0 text-start"
129+
className="ml-4 !px-0 underline cursor-pointer text-xs py-0 text-start"
130130
label={item.schema}
131131
onClick={() => goToSchema(item)}
132132
/>
@@ -135,13 +135,13 @@ export default function SchemaTableItem({
135135
)}
136136
<td className="content-start pt-2 max-w-72 min-w-50 whitespace-normal break-all">
137137
<Button
138-
className="ml-4 !px-0 underline cursor-pointer text-sm py-0 text-start"
138+
className="ml-4 !px-0 underline cursor-pointer text-xs py-0 text-start"
139139
label={item.target?.table_name}
140140
onClick={() => goToTable(item, checkTypes)}
141141
/>
142142
</td>
143-
<td className="px-4 text-sm content-start pt-2">{item?.stage}</td>
144-
<td className="px-4 text-sm content-start pt-2">
143+
<td className="px-4 text-xs content-start pt-2">{item?.stage}</td>
144+
<td className="px-4 text-xs content-start pt-2">
145145
{getLabelsOverview(item?.labels ?? [])}
146146
</td>
147147
{item?.data_quality_status?.dimensions ? (
@@ -151,7 +151,7 @@ export default function SchemaTableItem({
151151
dimensionKeys={dimensionKeys}
152152
/>
153153
<td>
154-
<div className="flex gap-x-2 items-center justify-center mr-3">
154+
<div className="flex gap-x-2 items-center justify-center mx-3">
155155
<SvgIcon
156156
name="data_sources"
157157
className="w-5 h-5"

0 commit comments

Comments
 (0)