1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 13:07:58 +00:00

Renamed form-row class to formrow

This commit is contained in:
Romein van Buren 2023-07-01 19:27:20 +02:00
parent 21afb01ea1
commit 30b65a198f
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -164,7 +164,7 @@
<div class="find"> <div class="find">
<form on:submit|preventDefault={submitQuery}> <form on:submit|preventDefault={submitQuery}>
<div class="form-row one"> <div class="formrow one">
<label class="field"> <label class="field">
<span class="label">Query or id</span> <span class="label">Query or id</span>
<input type="text" <input type="text"
@ -192,7 +192,7 @@
</label> </label>
</div> </div>
<div class="form-row two"> <div class="formrow two">
<label class="field"> <label class="field">
<span class="label">Fields</span> <span class="label">Fields</span>
<input <input
@ -229,7 +229,7 @@
</label> </label>
</div> </div>
<div class="form-row actions"> <div class="formrow actions">
<button type="submit" class="button" title="Run query"> <button type="submit" class="button" title="Run query">
<Icon name="play" /> Run <Icon name="play" /> Run
</button> </button>
@ -342,18 +342,18 @@
grid-template: auto 1fr / 1fr; grid-template: auto 1fr / 1fr;
} }
.form-row { .formrow {
display: grid; display: grid;
gap: 0.5rem; gap: 0.5rem;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }
.form-row.one { .formrow.one {
grid-template: 1fr / 3fr 2fr; grid-template: 1fr / 3fr 2fr;
} }
.form-row.two { .formrow.two {
grid-template: 1fr / 5fr 1fr 1fr; grid-template: 1fr / 5fr 1fr 1fr;
} }
.form-row.actions { .formrow.actions {
margin-bottom: 0rem; margin-bottom: 0rem;
grid-template: 1fr / repeat(4, auto); grid-template: 1fr / repeat(4, auto);
justify-content: start; justify-content: start;