Skip to content
Snippets Groups Projects
Commit ab4ef67c authored by Trirst's avatar Trirst
Browse files

Separate generic and specific input box styles.

parent ef2a1730
No related branches found
No related tags found
No related merge requests found
......@@ -10,4 +10,8 @@
</div>
</template>
<style></style>
\ No newline at end of file
<style>
.inputBox {
@apply border-2 focus:outline-none focus:ring-2 focus:ring-blue-300;
}
</style>
\ No newline at end of file
......@@ -19,25 +19,25 @@
type="text"
placeholder="Source"
name="source"
class="payloadInput"
class="inputBox inputPayload"
/>
<input
type="text"
placeholder="Parent"
name="parent"
class="payloadInput"
class="inputBox inputPayload"
/>
<textarea
type="text"
placeholder="Commentary"
name="commentary"
class="payloadInput"
class="inputBox inputPayload"
/>
<textarea
type="text"
placeholder="Commentary translation"
name="commentary_translation"
class="payloadInput"
class="inputBox inputPayload"
/>
</form>
</div>
......@@ -200,8 +200,8 @@ export default {
};
</script>
<style>
.payloadInput {
@apply border-2 focus:outline-none focus:ring-2 focus:ring-blue-300 pl-1 my-2;
<style scoped>
.inputPayload {
@apply pl-1 my-2;
}
</style>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment