Skip to content

Commit

Permalink
Merge pull request #31 from shubhadip/css-fix
Browse files Browse the repository at this point in the history
prevent unrelated css to bundle in library
  • Loading branch information
shubhadip authored Jan 8, 2022
2 parents 0884b90 + c82f2b9 commit 719fba6
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .eslintcache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"/Users/shubhadipmaity/projects/vue3-datepicker/src/components/datepicker/DateInput.vue":"1"},{"size":7086,"mtime":1605525174834}]
[{"/Users/shubhadipmaity/projects/vuejs3-datepicker/src/App.vue":"1","/Users/shubhadipmaity/projects/vuejs3-datepicker/src/components/wrapper/Wrapper.vue":"2"},{"size":3930,"mtime":1641549258180,"results":"3","hashOfConfig":"4"},{"size":1341,"mtime":1641549258181,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1g6avd8",{"filePath":"8","messages":"9","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/shubhadipmaity/projects/vuejs3-datepicker/src/App.vue",[],"/Users/shubhadipmaity/projects/vuejs3-datepicker/src/components/wrapper/Wrapper.vue",[]]
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ export default defineComponent({
}),
});
</script>
<style scoped lang="postcss">
<style lang="postcss">
@import '@css/app.css';
</style>
17 changes: 16 additions & 1 deletion src/assets/styles/css/app.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
@import '@css/_settings.css';

*{
box-sizing: border-box;
box-sizing: border-box;
}

body {
font-family: 'Open Sans', sans-serif;
color: $black;
margin: 0px;
padding: 0px;
input {
outline: none;
&:focus{
outline: none;
}
}
}

.flex-block{
Expand Down Expand Up @@ -112,6 +125,8 @@
a {
padding: 10px;
display: block;
color: $white;
text-decoration: none;
}
&:hover {
transform: translateX(5px);
Expand Down
1 change: 0 additions & 1 deletion src/components/datepicker/datepicker.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import "@css/app.css";
@import "@css/_settings.css";

.rtl {
Expand Down
2 changes: 1 addition & 1 deletion src/components/datepicker/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,5 +212,5 @@ export const data = {
de: de(),
en: en(),
fr: fr(),
nl: nl()
nl: nl(),
};
2 changes: 1 addition & 1 deletion src/components/wrapper/Wrapper.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="container">
<label>
<label class="slot-label">
<slot name="label"></slot>
</label>
<div class="code-block">
Expand Down

0 comments on commit 719fba6

Please sign in to comment.