Skip to content

Commit a690285

Browse files
author
lafricain79
committed
refactor: remove default value and custom CSS for max submissions input
1 parent a32d955 commit a690285

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/components/SidebarTabs/SettingsSidebarTab.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export default {
399399
},
400400
401401
onMaxSubmissionsChange(checked) {
402-
this.$emit('update:form-prop', 'maxSubmissions', checked ? 100 : null)
402+
this.$emit('update:form-prop', 'maxSubmissions', checked ? null : null)
403403
},
404404
405405
onMaxSubmissionsValueChange(event) {
@@ -539,10 +539,4 @@ export default {
539539
@include markdown-output;
540540
}
541541
}
542-
.max-submissions {
543-
&__input {
544-
width: calc(100% - var(--default-clickable-area));
545-
margin-block-start: 4px;
546-
}
547-
}
548542
</style>

0 commit comments

Comments
 (0)