⚡ 100/100 Lighthouse score
This commit is contained in:
@@ -306,10 +306,6 @@ ol li {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.show-on-small-screen {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: $responsiveWidth) {
|
@media (max-width: $responsiveWidth) {
|
||||||
header div {
|
header div {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -335,10 +331,6 @@ ol li {
|
|||||||
.hide-on-small-screen {
|
.hide-on-small-screen {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.show-on-small-screen {
|
|
||||||
display: inline-flex;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#installPWA {
|
#installPWA {
|
||||||
|
|||||||
@@ -65,7 +65,6 @@
|
|||||||
<label for="path">Path</label>
|
<label for="path">Path</label>
|
||||||
<input @keyup.enter="isValidURL ? sendRequest() : null" id="path" name="path" v-model="path" @input="pathInputHandler">
|
<input @keyup.enter="isValidURL ? sendRequest() : null" id="path" name="path" v-model="path" @input="pathInputHandler">
|
||||||
</li>
|
</li>
|
||||||
<div class="show-on-small-screen">
|
|
||||||
<li>
|
<li>
|
||||||
<label class="hide-on-small-screen" for="copyRequest"> </label>
|
<label class="hide-on-small-screen" for="copyRequest"> </label>
|
||||||
<button class="icon" @click="copyRequest" id="copyRequest" ref="copyRequest" :disabled="!isValidURL">
|
<button class="icon" @click="copyRequest" id="copyRequest" ref="copyRequest" :disabled="!isValidURL">
|
||||||
@@ -81,7 +80,6 @@
|
|||||||
<span>{{ isHidden ? 'Show Code' : 'Hide Code' }}</span>
|
<span>{{ isHidden ? 'Show Code' : 'Hide Code' }}</span>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
|
||||||
<li>
|
<li>
|
||||||
<label class="hide-on-small-screen" for="send"> </label>
|
<label class="hide-on-small-screen" for="send"> </label>
|
||||||
<button :disabled="!isValidURL" @click="sendRequest" class="show" id="send" ref="sendButton">
|
<button :disabled="!isValidURL" @click="sendRequest" class="show" id="send" ref="sendButton">
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
<label for="url">URL</label>
|
<label for="url">URL</label>
|
||||||
<input id="url" type="url" :class="{ error: !urlValid }" v-model="url" @keyup.enter="urlValid ? toggleConnection() : null">
|
<input id="url" type="url" :class="{ error: !urlValid }" v-model="url" @keyup.enter="urlValid ? toggleConnection() : null">
|
||||||
</li>
|
</li>
|
||||||
<div>
|
|
||||||
<li>
|
<li>
|
||||||
<label for="connect" class="hide-on-small-screen"> </label>
|
<label for="connect" class="hide-on-small-screen"> </label>
|
||||||
<button :disabled="!urlValid" id="connect" name="connect" @click="toggleConnection">
|
<button :disabled="!urlValid" id="connect" name="connect" @click="toggleConnection">
|
||||||
@@ -17,7 +16,6 @@
|
|||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</pw-section>
|
</pw-section>
|
||||||
<pw-section class="purple" label="Communication" id="response" ref="response">
|
<pw-section class="purple" label="Communication" id="response" ref="response">
|
||||||
@@ -37,7 +35,6 @@
|
|||||||
<label for="message">Message</label>
|
<label for="message">Message</label>
|
||||||
<input id="message" name="message" type="text" v-model="communication.input" :readonly="!connectionState" @keyup.enter="connectionState ? sendMessage() : null">
|
<input id="message" name="message" type="text" v-model="communication.input" :readonly="!connectionState" @keyup.enter="connectionState ? sendMessage() : null">
|
||||||
</li>
|
</li>
|
||||||
<div>
|
|
||||||
<li>
|
<li>
|
||||||
<label for="send" class="hide-on-small-screen"> </label>
|
<label for="send" class="hide-on-small-screen"> </label>
|
||||||
<button id="send" name="send" :disabled="!connectionState" @click="sendMessage">
|
<button id="send" name="send" :disabled="!connectionState" @click="sendMessage">
|
||||||
@@ -47,7 +44,6 @@
|
|||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
</pw-section>
|
</pw-section>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user