refactor(clean): removed useless br tags

This commit is contained in:
Corentin Thomasset 2023-04-19 22:44:22 +02:00 committed by Corentin THOMASSET
parent c45bce36f9
commit 74073f5038
13 changed files with 21 additions and 43 deletions

View file

@ -13,7 +13,6 @@
/> />
</n-form-item> </n-form-item>
<br />
<n-card> <n-card>
<n-statistic label="Authorization header:" class="header"> <n-statistic label="Authorization header:" class="header">
<n-scrollbar x-scrollable style="max-width: 550px; margin-bottom: -10px; padding-bottom: 10px" trigger="none"> <n-scrollbar x-scrollable style="max-width: 550px; margin-bottom: -10px; padding-bottom: 10px" trigger="none">
@ -21,8 +20,7 @@
</n-scrollbar> </n-scrollbar>
</n-statistic> </n-statistic>
</n-card> </n-card>
<br /> <n-space justify="center" mt-5>
<n-space justify="center">
<c-button @click="copy">Copy header</c-button> <c-button @click="copy">Copy header</c-button>
</n-space> </n-space>
</div> </div>

View file

@ -16,8 +16,7 @@
</n-form-item> </n-form-item>
<n-input :value="hashed" readonly style="text-align: center" /> <n-input :value="hashed" readonly style="text-align: center" />
</n-form> </n-form>
<br /> <n-space justify="center" mt-5>
<n-space justify="center">
<c-button @click="copy"> Copy hash </c-button> <c-button @click="copy"> Copy hash </c-button>
</n-space> </n-space>
</n-card> </n-card>

View file

@ -1,6 +1,6 @@
<template> <template>
<n-scrollbar style="flex: 1" x-scrollable> <n-scrollbar style="flex: 1" x-scrollable>
<n-space :wrap="false" style="flex: 1" justify="center" :size="0"> <n-space :wrap="false" style="flex: 1" justify="center" :size="0" mb-5>
<div v-for="(suite, index) of suites" :key="index"> <div v-for="(suite, index) of suites" :key="index">
<n-card style="width: 292px; margin: 0 8px 5px"> <n-card style="width: 292px; margin: 0 8px 5px">
<n-form-item label="Suite name:" :show-feedback="false" label-placement="left"> <n-form-item label="Suite name:" :show-feedback="false" label-placement="left">
@ -28,7 +28,6 @@
</n-space> </n-space>
</div> </div>
</n-space> </n-space>
<br />
</n-scrollbar> </n-scrollbar>
<div style="flex: 0 0 100%"> <div style="flex: 0 0 100%">
@ -69,8 +68,7 @@
</tr> </tr>
</tbody> </tbody>
</n-table> </n-table>
<br /> <n-space justify="center" mt-5>
<n-space justify="center">
<c-button @click="copyAsMarkdown">Copy as markdown table</c-button> <c-button @click="copyAsMarkdown">Copy as markdown table</c-button>
<c-button @click="copyAsBulletList">Copy as bullet list</c-button> <c-button @click="copyAsBulletList">Copy as bullet list</c-button>
</n-space> </n-space>

View file

@ -3,8 +3,7 @@
<n-card> <n-card>
<div class="duration">{{ formatMs(counter) }}</div> <div class="duration">{{ formatMs(counter) }}</div>
</n-card> </n-card>
<br /> <n-space justify="center" mt-5>
<n-space justify="center">
<c-button v-if="!isRunning" secondary type="primary" @click="resume">Start</c-button> <c-button v-if="!isRunning" secondary type="primary" @click="resume">Start</c-button>
<c-button v-else secondary type="warning" @click="pause">Stop</c-button> <c-button v-else secondary type="warning" @click="pause">Stop</c-button>

View file

@ -13,15 +13,13 @@
<n-divider /> <n-divider />
<textarea-copyable :value="dockerCompose" language="yaml" /> <textarea-copyable :value="dockerCompose" language="yaml" />
<br />
<br /> <n-space justify="center" mt-5>
<n-space justify="center">
<c-button :disabled="dockerCompose === ''" secondary @click="download"> Download docker-compose.yml </c-button> <c-button :disabled="dockerCompose === ''" secondary @click="download"> Download docker-compose.yml </c-button>
</n-space> </n-space>
<div v-if="notComposable.length > 0"> <div v-if="notComposable.length > 0">
<br /> <n-alert title="This options are not translatable to docker-compose" type="info" mt-5>
<n-alert title="This options are not translatable to docker-compose" type="info">
<ul> <ul>
<li v-for="(message, index) of notComposable" :key="index">{{ message }}</li> <li v-for="(message, index) of notComposable" :key="index">{{ message }}</li>
</ul> </ul>
@ -29,10 +27,10 @@
</div> </div>
<div v-if="notImplemented.length > 0"> <div v-if="notImplemented.length > 0">
<br />
<n-alert <n-alert
title="This options are not yet implemented and therefore haven't been translated to docker-compose" title="This options are not yet implemented and therefore haven't been translated to docker-compose"
type="warning" type="warning"
mt-5
> >
<ul> <ul>
<li v-for="(message, index) of notImplemented" :key="index">{{ message }}</li> <li v-for="(message, index) of notImplemented" :key="index">{{ message }}</li>
@ -41,8 +39,7 @@
</div> </div>
<div v-if="errors.length > 0"> <div v-if="errors.length > 0">
<br /> <n-alert title="The following errors occured" type="error" mt-5>
<n-alert title="The following errors occured" type="error">
<ul> <ul>
<li v-for="(message, index) of errors" :key="index">{{ message }}</li> <li v-for="(message, index) of errors" :key="index">{{ message }}</li>
</ul> </ul>

View file

@ -21,8 +21,7 @@
</n-form-item> </n-form-item>
</n-space> </n-space>
</n-space> </n-space>
<br /> <n-form-item label="Your text encrypted:" :show-feedback="false" mt-5>
<n-form-item label="Your text encrypted:" :show-feedback="false">
<n-input <n-input
:value="cypherOutput" :value="cypherOutput"
type="textarea" type="textarea"
@ -58,8 +57,7 @@
</n-form-item> </n-form-item>
</n-space> </n-space>
</n-space> </n-space>
<br /> <n-form-item label="Your decrypted text:" :show-feedback="false" mt-5>
<n-form-item label="Your decrypted text:" :show-feedback="false">
<n-input <n-input
:value="decryptOutput" :value="decryptOutput"
type="textarea" type="textarea"

View file

@ -5,7 +5,6 @@
hours and 10 minutes to wash them all, and if you start now, you'll end hours and 10 minutes to wash them all, and if you start now, you'll end
{{ endAt }}. {{ endAt }}.
</n-text> </n-text>
<br />
<n-divider /> <n-divider />
<n-space item-style="flex:1 1 0"> <n-space item-style="flex:1 1 0">
<div> <div>

View file

@ -16,12 +16,9 @@
<n-switch v-model:value="asHTML" /> <n-switch v-model:value="asHTML" />
</n-form-item> </n-form-item>
<br /> <n-input :value="loremIpsumText" type="textarea" placeholder="Your lorem ipsum..." readonly autosize mt-5 />
<n-input :value="loremIpsumText" type="textarea" placeholder="Your lorem ipsum..." readonly autosize /> <n-space justify="center" mt-5>
<br />
<br />
<n-space justify="center">
<c-button autofocus @click="copy"> Copy </c-button> <c-button autofocus @click="copy"> Copy </c-button>
</n-space> </n-space>
</n-card> </n-card>

View file

@ -11,10 +11,8 @@
autocapitalize="off" autocapitalize="off"
spellcheck="false" spellcheck="false"
/> />
<br />
<br />
<n-card v-if="result !== ''" title="Result "> <n-card v-if="result !== ''" title="Result " mt-5>
{{ result }} {{ result }}
</n-card> </n-card>
</div> </div>

View file

@ -13,8 +13,7 @@
</c-button> </c-button>
</n-space> </n-space>
</n-card> </n-card>
<br /> <n-card title="Roman to arabic" mt-5>
<n-card title="Roman to arabic">
<n-space align="center" justify="space-between"> <n-space align="center" justify="space-between">
<n-form-item v-bind="validationRoman"> <n-form-item v-bind="validationRoman">
<n-input v-model:value="inputRoman" style="width: 200px" /> <n-input v-model:value="inputRoman" style="width: 200px" />

View file

@ -1,9 +1,8 @@
<template> <template>
<n-card> <n-card>
<n-input v-model:value="text" type="textarea" placeholder="Your text..." rows="5" /> <n-input v-model:value="text" type="textarea" placeholder="Your text..." rows="5" />
<br />
<br /> <n-space justify="space-around" mt-5>
<n-space justify="space-around">
<n-statistic label="Character count" :value="text.length" /> <n-statistic label="Character count" :value="text.length" />
<n-statistic label="Word count" :value="text === '' ? 0 : text.split(/\s+/).length" /> <n-statistic label="Word count" :value="text === '' ? 0 : text.split(/\s+/).length" />
<n-statistic label="Line count" :value="text === '' ? 0 : text.split(/\r\n|\r|\n/).length" /> <n-statistic label="Line count" :value="text === '' ? 0 : text.split(/\r\n|\r|\n/).length" />

View file

@ -41,9 +41,8 @@
autocapitalize="off" autocapitalize="off"
spellcheck="false" spellcheck="false"
/> />
<br />
<br /> <n-space justify="center" mt-5>
<n-space justify="center">
<c-button @click="copy"> Copy </c-button> <c-button @click="copy"> Copy </c-button>
<c-button @click="refreshToken"> Refresh </c-button> <c-button @click="refreshToken"> Refresh </c-button>
</n-space> </n-space>

View file

@ -12,9 +12,7 @@
</template> </template>
</n-page-header> </n-page-header>
<br /> <n-space mt-5>
<n-space>
<span v-for="{ label, getValue } in content" :key="label"> <span v-for="{ label, getValue } in content" :key="label">
<n-tooltip v-if="getValue(userAgentInfo)" trigger="hover"> <n-tooltip v-if="getValue(userAgentInfo)" trigger="hover">
<template #trigger> <template #trigger>