fixed
This commit is contained in:
@@ -98,6 +98,9 @@
|
||||
letter-spacing: 0.16px;
|
||||
outline: none;
|
||||
}
|
||||
.textarea::placeholder {
|
||||
color: #85869b;
|
||||
}
|
||||
.textarea:focus {
|
||||
border-radius: 6px;
|
||||
border: 1px solid #959aff;
|
||||
|
||||
@@ -129,6 +129,9 @@
|
||||
letter-spacing: 0.16px;
|
||||
outline: none;
|
||||
}
|
||||
.textarea::placeholder {
|
||||
color: #85869b;
|
||||
}
|
||||
.textarea:focus {
|
||||
border-radius: 6px;
|
||||
border: 1px solid #959aff;
|
||||
|
||||
@@ -111,34 +111,36 @@ const AddProject = () => {
|
||||
"services-drop-down",
|
||||
]}
|
||||
/>
|
||||
{isMobile ? (
|
||||
<div className={styles.cardContainer}>
|
||||
<MobileSearchBar />
|
||||
{sampleData.map((data, key) => (
|
||||
|
||||
<div className={styles.cardContainer}>
|
||||
<MobileSearchBar />
|
||||
{isMobile &&
|
||||
sampleData.map((data, key) => (
|
||||
<Card
|
||||
data={data}
|
||||
key={key}
|
||||
onClick={() => router.push(`${pathName}/${data.id}`)}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
) : (
|
||||
<div className={styles.tableContainer}>
|
||||
<table className={styles.table}>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Version</th>
|
||||
<th>Health</th>
|
||||
<th>Status</th>
|
||||
<th width="10%">Image</th>
|
||||
<th>Ingress</th>
|
||||
<th>Port</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{sampleData.map((services, index) => {
|
||||
</div>
|
||||
|
||||
<div className={styles.tableContainer}>
|
||||
<table className={styles.table}>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Version</th>
|
||||
<th>Health</th>
|
||||
<th>Status</th>
|
||||
<th width="10%">Image</th>
|
||||
<th>Ingress</th>
|
||||
<th>Port</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{!isMobile &&
|
||||
sampleData.map((services, index) => {
|
||||
return (
|
||||
<tr
|
||||
key={index}
|
||||
@@ -380,10 +382,9 @@ const AddProject = () => {
|
||||
</tr>
|
||||
);
|
||||
})}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
)}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -188,7 +188,7 @@
|
||||
opacity: 1;
|
||||
}
|
||||
.cardContainer {
|
||||
display: flex;
|
||||
display: none;
|
||||
padding: 0 16px;
|
||||
padding-bottom: 50px;
|
||||
height: calc(100vh - 170px);
|
||||
@@ -198,3 +198,11 @@
|
||||
align-self: stretch;
|
||||
overflow: auto;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.cardContainer {
|
||||
display: flex;
|
||||
}
|
||||
.tableContainer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user