mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-01 22:10:37 +08:00
feat: update styles for toolbar (#4824)
This commit is contained in:
parent
7f4a61ffb1
commit
d6cd155988
@ -37,7 +37,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.explorer-options {
|
.explorer-options {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 24px;
|
bottom: 24px;
|
||||||
@ -78,11 +77,9 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
border: none;
|
||||||
|
|
||||||
border: 1px solid #1d2023;
|
border: 1px solid #1d2023;
|
||||||
color: #c0c1c3;
|
|
||||||
background-color: #161922;
|
|
||||||
|
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
|
|
||||||
|
@ -373,26 +373,41 @@ function ExplorerOptions({
|
|||||||
onClick={handleSaveViewModalToggle}
|
onClick={handleSaveViewModalToggle}
|
||||||
className={isEditDeleteSupported ? '' : 'hidden'}
|
className={isEditDeleteSupported ? '' : 'hidden'}
|
||||||
disabled={viewsIsLoading || isRefetching}
|
disabled={viewsIsLoading || isRefetching}
|
||||||
|
icon={<Disc3 size={16} />}
|
||||||
>
|
>
|
||||||
<Disc3 size={16} /> Save this view
|
Save this view
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr className={isEditDeleteSupported ? '' : 'hidden'} />
|
<hr className={isEditDeleteSupported ? '' : 'hidden'} />
|
||||||
|
|
||||||
<div className={cx('actions', isEditDeleteSupported ? '' : 'hidden')}>
|
<div className={cx('actions', isEditDeleteSupported ? '' : 'hidden')}>
|
||||||
<Button disabled={disabled} shape="round" onClick={onCreateAlertsHandler}>
|
<Button
|
||||||
<ConciergeBell size={16} /> Create an Alert
|
disabled={disabled}
|
||||||
|
shape="round"
|
||||||
|
onClick={onCreateAlertsHandler}
|
||||||
|
icon={<ConciergeBell size={16} />}
|
||||||
|
>
|
||||||
|
Create an Alert
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button disabled={disabled} shape="round" onClick={onAddToDashboard}>
|
<Button
|
||||||
<Plus size={16} /> Add to Dashboard
|
type="primary"
|
||||||
|
disabled={disabled}
|
||||||
|
shape="round"
|
||||||
|
onClick={onAddToDashboard}
|
||||||
|
icon={<Plus size={16} />}
|
||||||
|
>
|
||||||
|
Add to Dashboard
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Tooltip title="Hide">
|
<Tooltip title="Hide">
|
||||||
<Button disabled={disabled} shape="circle" onClick={hideToolbar}>
|
<Button
|
||||||
<PanelBottomClose size={16} />
|
disabled={disabled}
|
||||||
</Button>
|
shape="circle"
|
||||||
|
onClick={hideToolbar}
|
||||||
|
icon={<PanelBottomClose size={16} />}
|
||||||
|
/>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
.react-grid-layout {
|
.react-grid-layout {
|
||||||
border: none !important;
|
border: none !important;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|
||||||
|
.widget-graph-container {
|
||||||
|
&.graph {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user