Skip to content

Commit bb7a3be

Browse files
authored
style: center title in title bar (#42)
- Added width and justify-content properties to the main container for better alignment. - Adjusted the position of the lock icon to enhance visibility and user experience.
1 parent e075812 commit bb7a3be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/frontend/src/CustomEmbeddableRenderer.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@
1111
pointer-events: none;
1212
display: flex;
1313
align-items: center;
14+
width: 100%;
15+
justify-content: center;
1416

1517
&__text {
1618
font-family: 'Roboto', sans-serif;
1719
color: #d3d3d3;
1820
pointer-events: none;
1921
font-size: 18px;
20-
margin-right: 8px;
2122
}
2223
}
2324

2425
&__lock-icon {
26+
position: absolute;
27+
left: 1%;
2528
display: flex;
2629
align-items: center;
2730
justify-content: center;

0 commit comments

Comments
 (0)