diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/TextareaCopyable.vue | 2 | ||||
-rw-r--r-- | src/layouts/base.layout.vue | 2 | ||||
-rw-r--r-- | src/main.ts | 2 | ||||
-rw-r--r-- | src/tools/base64-file-converter/base64-file-converter.vue | 2 | ||||
-rw-r--r-- | src/tools/bcrypt/bcrypt.vue | 2 | ||||
-rw-r--r-- | src/tools/chmod-calculator/chmod-calculator.vue | 2 | ||||
-rw-r--r-- | src/tools/integer-base-converter/integer-base-converter.vue | 4 | ||||
-rw-r--r-- | src/tools/otp-code-generator-and-validator/token-display.vue | 2 | ||||
-rw-r--r-- | src/tools/temperature-converter/temperature-converter.vue | 6 |
9 files changed, 11 insertions, 13 deletions
diff --git a/src/components/TextareaCopyable.vue b/src/components/TextareaCopyable.vue index 4bc09f4..0668ef2 100644 --- a/src/components/TextareaCopyable.vue +++ b/src/components/TextareaCopyable.vue @@ -21,7 +21,7 @@ <span>{{ tooltipText }}</span> </n-tooltip> </n-card> - <n-space v-if="copyPlacement === 'outside'" justify="center" style="margin-top: 15px"> + <n-space v-if="copyPlacement === 'outside'" justify="center" mt-4> <n-button secondary @click="onCopyClicked"> {{ tooltipText }} </n-button> </n-space> </div> diff --git a/src/layouts/base.layout.vue b/src/layouts/base.layout.vue index 5b35f9d..2f91cf7 100644 --- a/src/layouts/base.layout.vue +++ b/src/layouts/base.layout.vue @@ -141,7 +141,7 @@ const tools = computed<ToolCategory[]>(() => [ @click="() => tracker.trackEvent({ eventName: 'Support button clicked' })" > Buy me a coffee - <n-icon v-if="!styleStore.isSmallScreen" :component="Heart" style="margin-left: 5px" /> + <n-icon v-if="!styleStore.isSmallScreen" :component="Heart" ml-2 /> </n-button> </template> ❤ Support IT Tools development ! diff --git a/src/main.ts b/src/main.ts index e50bc37..f063ef6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -5,6 +5,8 @@ import { createHead } from '@vueuse/head'; import { registerSW } from 'virtual:pwa-register'; import { plausible } from './plugins/plausible.plugin'; +import 'virtual:uno.css'; + registerSW(); import { naive } from './plugins/naive.plugin'; diff --git a/src/tools/base64-file-converter/base64-file-converter.vue b/src/tools/base64-file-converter/base64-file-converter.vue index 7f7ee1a..a35534f 100644 --- a/src/tools/base64-file-converter/base64-file-converter.vue +++ b/src/tools/base64-file-converter/base64-file-converter.vue @@ -17,7 +17,7 @@ <n-card title="File to base64"> <n-upload v-model:file-list="fileList" :show-file-list="true" :on-before-upload="onUpload" list-type="image"> <n-upload-dragger> - <div style="margin-bottom: 12px"> + <div mb-2> <n-icon size="35" :depth="3" :component="Upload" /> </div> <n-text style="font-size: 14px"> Click or drag a file to this area to upload </n-text> diff --git a/src/tools/bcrypt/bcrypt.vue b/src/tools/bcrypt/bcrypt.vue index 32f56ac..4104c74 100644 --- a/src/tools/bcrypt/bcrypt.vue +++ b/src/tools/bcrypt/bcrypt.vue @@ -12,7 +12,7 @@ /> </n-form-item> <n-form-item label="Salt count: " label-placement="left"> - <n-input-number v-model:value="saltCount" placeholder="Salt rounds..." :max="10" :min="0" style="width: 100%" /> + <n-input-number v-model:value="saltCount" placeholder="Salt rounds..." :max="10" :min="0" w-full /> </n-form-item> <n-input :value="hashed" readonly style="text-align: center" /> </n-form> diff --git a/src/tools/chmod-calculator/chmod-calculator.vue b/src/tools/chmod-calculator/chmod-calculator.vue index 31f8b9f..d37f95f 100644 --- a/src/tools/chmod-calculator/chmod-calculator.vue +++ b/src/tools/chmod-calculator/chmod-calculator.vue @@ -24,7 +24,7 @@ {{ octal }} </div> - <input-copyable :value="`chmod ${octal} path`" readonly style="margin-bottom: 5px" /> + <input-copyable :value="`chmod ${octal} path`" readonly /> </div> </template> diff --git a/src/tools/integer-base-converter/integer-base-converter.vue b/src/tools/integer-base-converter/integer-base-converter.vue index 33b1dee..df7e3ba 100644 --- a/src/tools/integer-base-converter/integer-base-converter.vue +++ b/src/tools/integer-base-converter/integer-base-converter.vue @@ -4,11 +4,11 @@ <div v-if="styleStore.isSmallScreen"> <n-input-group> <n-input-group-label style="flex: 0 0 120px"> Input number: </n-input-group-label> - <n-input v-model:value="input" style="width: 100%" :status="error ? 'error' : undefined" /> + <n-input v-model:value="input" w-full :status="error ? 'error' : undefined" /> </n-input-group> <n-input-group> <n-input-group-label style="flex: 0 0 120px"> Input base: </n-input-group-label> - <n-input-number v-model:value="inputBase" max="64" min="2" style="width: 100%" /> + <n-input-number v-model:value="inputBase" max="64" min="2" w-full /> </n-input-group> </div> diff --git a/src/tools/otp-code-generator-and-validator/token-display.vue b/src/tools/otp-code-generator-and-validator/token-display.vue index ad3b64b..6ead65c 100644 --- a/src/tools/otp-code-generator-and-validator/token-display.vue +++ b/src/tools/otp-code-generator-and-validator/token-display.vue @@ -1,6 +1,6 @@ <template> <div> - <n-space class="labels" item-style="flex: 1 1 0" style="width: 100%" align="center"> + <n-space class="labels" item-style="flex: 1 1 0" w-full align="center"> <div style="text-align: left">Previous</div> <div style="text-align: center">Current OTP</div> <div style="text-align: right">Next</div> diff --git a/src/tools/temperature-converter/temperature-converter.vue b/src/tools/temperature-converter/temperature-converter.vue index 3ba3ea1..2c33627 100644 --- a/src/tools/temperature-converter/temperature-converter.vue +++ b/src/tools/temperature-converter/temperature-converter.vue @@ -1,10 +1,6 @@ <template> <div> - <n-input-group - v-for="[key, { title, unit }] in Object.entries(units)" - :key="key" - style="width: 100%; margin-bottom: 15px" - > + <n-input-group v-for="[key, { title, unit }] in Object.entries(units)" :key="key" mb-3 w-full> <n-input-group-label style="width: 100px"> {{ title }} </n-input-group-label> |