File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import localize from "@/utils/localization";
1919import ChatHistoryPanel from " ../ChatGXY/ChatHistoryPanel.vue" ;
2020import InvocationsPanel from " ../Panels/InvocationsPanel.vue" ;
2121import ActivityBarHeader from " ./ActivityBarHeader.vue" ;
22+ import ActivityBarSeparator from " ./ActivityBarSeparator.vue" ;
2223import ActivityItem from " ./ActivityItem.vue" ;
2324import InteractiveItem from " ./Items/InteractiveItem.vue" ;
2425import NotificationItem from " ./Items/NotificationItem.vue" ;
@@ -332,7 +333,8 @@ defineExpose({
332333 </div >
333334 </draggable >
334335 </b-nav >
335- <b-nav v-if =" !isAnonymous" vertical class =" activity-footer flex-nowrap p-1" >
336+ <ActivityBarSeparator />
337+ <b-nav v-if =" !isAnonymous" vertical class =" flex-nowrap p-1" >
336338 <template v-for =" activity in props .specialActivities " >
337339 <ActivityItem
338340 v-if =" activity.panel"
@@ -466,11 +468,6 @@ defineExpose({
466468 display : none ;
467469}
468470
469- .activity-footer {
470- border-top : $border-default ;
471- border-top-style : dotted ;
472- }
473-
474471.activity-popper-disabled {
475472 .popper-element {
476473 display : none ;
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import type { IconDefinition } from "@fortawesome/free-solid-svg-icons";
33import { faChevronLeft , faHome } from " @fortawesome/free-solid-svg-icons" ;
44import { FontAwesomeIcon } from " @fortawesome/vue-fontawesome" ;
55
6+ import ActivityBarSeparator from " ./ActivityBarSeparator.vue" ;
7+
68interface Props {
79 /** Whether an activity's side panel is currently open. */
810 isSideBarOpen: boolean ;
@@ -41,7 +43,7 @@ function closeSidebar(event: KeyboardEvent | MouseEvent) {
4143 <FontAwesomeIcon :icon =" props.isSideBarOpen ? faChevronLeft : props.icon" size =" sm" fixed-width />
4244 <span class =" activity-bar-header-text" >{{ props.title }}</span >
4345 </div >
44- <div class = " activity-bar-header-divider " />
46+ <ActivityBarSeparator />
4547 </div >
4648</template >
4749
@@ -66,9 +68,4 @@ function closeSidebar(event: KeyboardEvent | MouseEvent) {
6668 font-size : var (--font-size-small );
6769 }
6870}
69-
70- .activity-bar-header-divider {
71- border-top : var (--border-default );
72- border-top-style : dotted ;
73- }
7471 </style >
Original file line number Diff line number Diff line change 1+ <template >
2+ <div class =" activity-bar-separator" />
3+ </template >
4+
5+ <style scoped lang="scss">
6+ .activity-bar-separator {
7+ border-top : 1px solid var (--color-grey-600 );
8+ border-top-style : dotted ;
9+ }
10+ </style >
Original file line number Diff line number Diff line change 8585 --masthead-height : #{$masthead-height } ;
8686 --masthead-logo-height : calc (var (--masthead-height ) - 0.5rem );
8787
88- --border-color : #{$border-color } ;
89- --border-default : #{$border-default } ;
90-
9188 --masthead-color : #{$masthead-color } ;
9289 --masthead-text-color : #{$masthead-text-color } ;
9390 --masthead-text-hover : #{$masthead-text-hover } ;
You can’t perform that action at this time.
0 commit comments