Skip to content

Commit

Permalink
style(#70): codemirror status bar border
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashornych committed Dec 7, 2023
1 parent 41cff2a commit dc3004b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/base/CodemirrorFull.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,4 @@ const state = ref<EditorState>()
top: 0;
bottom: 2rem;
}
.status-bar {
display: flex;
justify-content: right;
}
</style>
2 changes: 2 additions & 0 deletions src/components/base/CodemirrorFullStatusBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const props = defineProps<{
</script>

<template>
<VDivider />
<div v-if="state" class="status-bar">
<span v-if="state.selection.ranges.length > 1">
{{ state.selection.ranges.length }} selections
Expand All @@ -32,6 +33,7 @@ const props = defineProps<{
display: flex;
column-gap: 1rem;
align-items: center;
justify-content: right;
padding: 0 0.5rem;
}
</style>

0 comments on commit dc3004b

Please sign in to comment.