Skip to content

Commit

Permalink
change location and positioning of configuration graph
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbocarsly committed Nov 13, 2024
1 parent 1ab964b commit 08a4790
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions webapp/src/components/ItemGraph.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template>
<div v-if="showOptions" class="options-button">
<div v-if="showOptions" class="sidebar ml-4">
<button
class="btn btn-default mr-5 mb-2 dropdown-toggle"
class="btn btn-default options-button mb-2"
@click="optionsDisplayed = !optionsDisplayed"
>
configure
</button>
<div v-show="optionsDisplayed" class="options card card-body dropdown-menu">
<div v-show="optionsDisplayed">
<label for="graph-style"
>Graph layout:
<font-awesome-icon v-show="layoutIsRunning" class="ml-2 text-muted" icon="spinner" spin
Expand Down Expand Up @@ -303,14 +303,11 @@ export default {
</script>

<style scoped>
.options-button {
position: absolute;
z-index: 10;
right: 2rem;
}
.options {
width: 450px;
.sidebar {
position: fixed;
max-width: 400px;
z-index: 100;
background-color: rgba(255, 255, 255, 0.95);
}
#cy {
Expand Down

0 comments on commit 08a4790

Please sign in to comment.