Skip to content

Commit

Permalink
fix: monospace font for args input
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Dec 29, 2020
1 parent f257109 commit 02c0399
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/ItemDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>

<div
class="item-details__group"
:class="{'item-details__group': true, 'item-details__group_lighthouse': group.name.match(/Lighthouse/)}"
v-for="group in groups"
:key="group.name"
:id="item[$store.state.defaultField] + '-' + group.name"
Expand Down
3 changes: 3 additions & 0 deletions pages/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ header {
}
}
}
/* .item-details__group_lighthouse .item-details__label {
width: 350px;
} */

.table-actions {
text-align: right;
Expand Down
6 changes: 3 additions & 3 deletions pages/scan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
</el-form-item>

<el-form-item label="Arguments">
<el-input v-model="args" @keydown.enter.native="sendTask"></el-input>
<el-input class="scan__args" v-model="args" @keydown.enter.native="sendTask"></el-input>
</el-form-item>

<el-form-item label="Server URL">
Expand Down Expand Up @@ -203,8 +203,8 @@
}
}
.scan__args {
font-weight: normal;
.scan__args input {
font-family: monospace;
}
.scan__report-link {
Expand Down

0 comments on commit 02c0399

Please sign in to comment.