Skip to content

Commit

Permalink
imp(styles): improve create rule form styles
Browse files Browse the repository at this point in the history
  • Loading branch information
e11sy committed Feb 1, 2025
1 parent a4f591c commit 9b7caa8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
20 changes: 19 additions & 1 deletion src/components/project/settings/NotificationsAddRule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@
:options="receiveTypes"
>
<template #description="{ option }">
<div v-if="option.id === receiveTypesEnum.SEEN_MORE">
<div
v-if="option.id === receiveTypesEnum.SEEN_MORE"
class="grid-form__seen-more-description"
>
<TextFieldset
v-model="selectedThreshold"
type="number"
Expand Down Expand Up @@ -514,5 +517,20 @@ export default Vue.extend({
margin-top: 30px;
margin-right: 20px;
}
&__seen-more-description {
display: flex;
gap: 10px;
.form-fieldset__label, .custom-select__label {
font-weight: 400;
font-size: 13px;
text-transform: none;
}
.custom-select {
min-width: 100px;
}
}
}
</style>
2 changes: 1 addition & 1 deletion src/types/project-notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export interface ProjectNotificationsRule {
/**
* Period to receive notification
*/
thresholdPeriod?: NotificationTresholdPeriodEnum;
thresholdPeriod?: number;
}

/**
Expand Down

0 comments on commit 9b7caa8

Please sign in to comment.