Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ntraut committed Sep 17, 2024
1 parent 89e687e commit 39c2f5d
Show file tree
Hide file tree
Showing 11 changed files with 344 additions and 250 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
],
'overrides': [
{
files: ['*.vue'],
files: ['*.vue', '*.stories.js'],
rules: {
// 300 lines limit seems to short for *.vue files
'max-lines': 'off'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"splitpanes": "^3.1.0"
},
"peerDependencies": {
"vue": "^3.4.0"
"vue": "^3.5.3"
},
"devDependencies": {
"@babel/core": "^7.17.4",
Expand Down
13 changes: 10 additions & 3 deletions src/components/common/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,20 @@
</template>
<script setup>
const props = defineProps({
className: String,
title: String,
className: {
type: String,
default: null
},
title: {
type: String,
default: null
},
disabled: Boolean,
small: Boolean
});
const classes = { small: props.small === true };
if (props.className != null) {
if (props.className !== null) {
classes[props.className] = true;
}
</script>
Expand All @@ -43,6 +49,7 @@ button {
color: #ddd;
text-align: center;
-webkit-appearance: none;
appearance: none;
cursor: pointer;
padding: 5px 0;
font-weight: bold;
Expand Down
6 changes: 4 additions & 2 deletions src/components/common/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
</select>
</template>
<script setup>
import { ref, onMounted } from 'vue';
const props = defineProps({
disabled: Boolean,
modelValue: String
modelValue: {
type: String,
required: true
}
});
const emit = defineEmits(['update:modelValue']);
Expand Down
2 changes: 2 additions & 0 deletions src/components/pages/ProjectPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,11 @@ main {
.vertical .left-header button {
transform: rotate(90deg);
}
.horizontal {
height: calc(100vh - 82px);
}
.fullscreen .horizontal {
height: 100vh;
}
Expand Down
Loading

0 comments on commit 39c2f5d

Please sign in to comment.