Skip to content

Commit

Permalink
style: update timezones
Browse files Browse the repository at this point in the history
Signed-off-by: Grigory Vodyanov <[email protected]>
  • Loading branch information
GVodyanov committed Nov 17, 2024
1 parent 05d144d commit 75bfae8
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/components/Editor/Properties/PropertyTitleTimePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<span class="property-title-time-picker__button">
<IconTimezone :size="20" />
{{ startTimezone }}
<EditIcon :size="20" />
</span>
</template>
</NcButton>
Expand Down Expand Up @@ -99,7 +98,6 @@ import moment from '@nextcloud/moment'
import DatePicker from '../../Shared/DatePicker.vue'
import IconTimezone from 'vue-material-design-icons/Web.vue'
import CalendarIcon from 'vue-material-design-icons/Calendar.vue'
import EditIcon from 'vue-material-design-icons/Pencil.vue'
import { NcCheckboxRadioSwitch, NcTimezonePicker, NcButton } from '@nextcloud/vue'

Check warning on line 101 in src/components/Editor/Properties/PropertyTitleTimePicker.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Properties/PropertyTitleTimePicker.vue#L101

Added line #L101 was not covered by tests
import { mapState } from 'pinia'
import useSettingsStore from '../../../store/settings.js'
Expand All @@ -113,7 +111,6 @@ export default {
NcButton,
NcCheckboxRadioSwitch,
NcTimezonePicker,
EditIcon,
},
props: {
/**
Expand Down Expand Up @@ -337,10 +334,10 @@ export default {
height: var(--default-clickable-area);
overflow-y: clip !important;
flex-grow: 2;
width: 210px;
flex-shrink: 1;
width: 210px;
margin: 0;

Check warning on line 339 in src/components/Editor/Properties/PropertyTitleTimePicker.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Properties/PropertyTitleTimePicker.vue#L339

Added line #L339 was not covered by tests
min-width: unset !important;
min-width: unset;
}

.property-title-time-picker__time-pickers {
Expand Down Expand Up @@ -400,6 +397,7 @@ export default {
.property-title-time-picker__button {
display: flex;
gap: var(--default-grid-baseline);
font-weight: normal;
}

.property-title-time-picker__time-pickers--all-day {

Check warning on line 403 in src/components/Editor/Properties/PropertyTitleTimePicker.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Properties/PropertyTitleTimePicker.vue#L403

Added line #L403 was not covered by tests
Expand All @@ -420,5 +418,11 @@ export default {
flex-wrap: wrap;
}
}

:deep(.vs__dropdown-toggle), :deep(.v-select) {
width: unset;
display: flex;
flex-basis: 200px;
}

Check warning on line 426 in src/components/Editor/Properties/PropertyTitleTimePicker.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Properties/PropertyTitleTimePicker.vue#L426

Added line #L426 was not covered by tests
}
</style>

0 comments on commit 75bfae8

Please sign in to comment.