Skip to content

Commit

Permalink
Merge pull request #130 from iceljc/features/refine-chat-window
Browse files Browse the repository at this point in the history
refine nav styles
  • Loading branch information
Oceania2018 authored May 14, 2024
2 parents b509134 + 2891f1f commit e11bd8f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/lib/common/nav-bar/NavBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</script>

<ul
class="{disableDefaultStyles ? '' : 'nav nav-tabs nav-container'} {containerClasses}"
class="{disableDefaultStyles ? '' : 'nav nav-tabs nav-tabs-custom nav-justified nav-container'} {containerClasses}"
style={`${containerStyles}`}
id={id}
role={role}
Expand Down
6 changes: 2 additions & 4 deletions src/lib/common/nav-bar/NavItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,11 @@
width: 100%;
height: 100%;
border: none !important;
color: white !important;
background-color: var(--bs-secondary);
color: white;
font-weight: 500;
font-size: 1.2em;
}
.tab-btn.active {
background-color: var(--bs-primary) !important;
color: var(--bs-primary);
}
</style>
15 changes: 12 additions & 3 deletions src/lib/scss/custom/pages/_chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,19 @@
}

.log-header {
flex: 5%;
flex: 2%;
}

.log-content {
flex: 90%
flex: 96%
}

.log-footer {
flex: 2%;
}

.nav-group {
margin: 0px 3px;
}

.padding-side {
Expand All @@ -371,7 +379,8 @@
background-color: black;

.log-close-btn {
margin-top: 1.2rem;
margin-top: 1rem;
margin-bottom: 0.5rem;
position: sticky;
display: flex;
justify-content: space-between;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
</ul>
</div>

<div class="log-header">
<div class="log-footer nav-group">
<NavBar id={'content-log-container'}>
<NavItem
navBtnId={'content-log-tab'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
</ul>
</div>

<div class="log-header">
<div class="log-footer nav-group">
<NavBar id={'state-log-container'}>
<NavItem
navBtnId={'conv-state-log-tab'}
Expand Down

0 comments on commit e11bd8f

Please sign in to comment.