Skip to content

Commit e11bd8f

Browse files
authored
Merge pull request #130 from iceljc/features/refine-chat-window
refine nav styles
2 parents b509134 + 2891f1f commit e11bd8f

File tree

5 files changed

+17
-10
lines changed

5 files changed

+17
-10
lines changed

src/lib/common/nav-bar/NavBar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</script>
1818

1919
<ul
20-
class="{disableDefaultStyles ? '' : 'nav nav-tabs nav-container'} {containerClasses}"
20+
class="{disableDefaultStyles ? '' : 'nav nav-tabs nav-tabs-custom nav-justified nav-container'} {containerClasses}"
2121
style={`${containerStyles}`}
2222
id={id}
2323
role={role}

src/lib/common/nav-bar/NavItem.svelte

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,11 @@
9191
width: 100%;
9292
height: 100%;
9393
border: none !important;
94-
color: white !important;
95-
background-color: var(--bs-secondary);
94+
color: white;
9695
font-weight: 500;
97-
font-size: 1.2em;
9896
}
9997
10098
.tab-btn.active {
101-
background-color: var(--bs-primary) !important;
99+
color: var(--bs-primary);
102100
}
103101
</style>

src/lib/scss/custom/pages/_chat.scss

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,19 @@
350350
}
351351

352352
.log-header {
353-
flex: 5%;
353+
flex: 2%;
354354
}
355355

356356
.log-content {
357-
flex: 90%
357+
flex: 96%
358+
}
359+
360+
.log-footer {
361+
flex: 2%;
362+
}
363+
364+
.nav-group {
365+
margin: 0px 3px;
358366
}
359367

360368
.padding-side {
@@ -371,7 +379,8 @@
371379
background-color: black;
372380

373381
.log-close-btn {
374-
margin-top: 1.2rem;
382+
margin-top: 1rem;
383+
margin-bottom: 0.5rem;
375384
position: sticky;
376385
display: flex;
377386
justify-content: space-between;

src/routes/chat/[agentId]/[conversationId]/contentLogs/content-log.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
</ul>
138138
</div>
139139

140-
<div class="log-header">
140+
<div class="log-footer nav-group">
141141
<NavBar id={'content-log-container'}>
142142
<NavItem
143143
navBtnId={'content-log-tab'}

src/routes/chat/[agentId]/[conversationId]/stateLogs/state-log.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
</ul>
135135
</div>
136136

137-
<div class="log-header">
137+
<div class="log-footer nav-group">
138138
<NavBar id={'state-log-container'}>
139139
<NavItem
140140
navBtnId={'conv-state-log-tab'}

0 commit comments

Comments
 (0)