Skip to content

Commit

Permalink
enh(inputs): Reduce border width
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <[email protected]>
  • Loading branch information
Pytal committed May 9, 2023
1 parent 70fa2ba commit 1a0b32d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/NcActionInput/NcActionInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ $input-margin: 4px;
width: 100%;
height: 36px;
border-radius: var(--border-radius-large);
border: 2px solid var(--color-border-maxcontrast);
border: 1px solid var(--color-border-maxcontrast);
box-shadow: none !important;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,5 +378,6 @@ export default {
width: 100%;
flex: 0 0 auto;
padding-right: 4px;
border: 1px solid var(--color-border-maxcontrast);
}
</style>
1 change: 1 addition & 0 deletions src/components/NcDatetimePicker/NcDatetimePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ export default {
<style lang="scss" scoped>
.mx-datepicker :deep(.mx-input-wrapper .mx-input) {
background-clip: border-box;
border: 1px solid var(--color-border-maxcontrast);
}
.datetime-picker-inline-icon {
Expand Down
2 changes: 1 addition & 1 deletion src/components/NcInputField/NcInputField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export default {
font-size: var(--default-font-size);
background-color: var(--color-main-background);
color: var(--color-main-text);
border: 2px solid var(--color-border-maxcontrast);
border: 1px solid var(--color-border-maxcontrast);
height: 36px !important;
border-radius: var(--border-radius-large);
text-overflow: ellipsis;
Expand Down
2 changes: 1 addition & 1 deletion src/components/NcSelect/NcSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ body {
/* Borders */
--vs-border-color: var(--color-border-maxcontrast);
--vs-border-width: 2px;
--vs-border-width: 1px;
--vs-border-style: solid;
--vs-border-radius: var(--border-radius-large);
Expand Down

0 comments on commit 1a0b32d

Please sign in to comment.