Skip to content

Commit e7ba3d5

Browse files
committed
use less space
1 parent 09b8dd2 commit e7ba3d5

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

force-app/main/default/lwc/flowOverview/flowOverview.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ lightning-card {
1111
}
1212

1313
.search-bar {
14-
padding: 1rem;
14+
padding: 0.25rem 1rem; /* Reduced padding for less height */
1515
background-color: #ffffff;
16-
border-bottom: 1px solid #ddd;
16+
display: flex;
17+
align-items: center;
1718
}
1819

1920
.search-bar lightning-input {
20-
max-width: 400px;
21+
max-width: 300px; /* Smaller width for compact look */
2122
--slds-c-input-color-border: #003087; /* Dark blue border */
23+
--slds-c-input-radius-border: 0.25rem;
24+
--slds-c-input-font-size: 0.875rem; /* Smaller font for compactness */
2225
}
2326

2427
lightning-datatable {

force-app/main/default/lwc/flowOverview/flowOverview.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
<div class="search-bar">
44
<lightning-input
55
type="search"
6-
label="Search Flows"
76
placeholder="Search by Name or Label..."
87
onchange={handleSearchInput}
9-
class="slds-m-bottom_small"
8+
class="slds-m-bottom_x-small"
109
></lightning-input>
1110
</div>
1211
<template if:true={err}>

0 commit comments

Comments
 (0)