Skip to content
Snippets Groups Projects
Commit b0aab84b authored by Dominik Seeger's avatar Dominik Seeger
Browse files

fixed linewrapping with only vuetify components

parent b88e33fd
No related branches found
No related tags found
4 merge requests!135Merge 127 ui improvements,!134WIP Merge 127 ui improvements,!133WIP Merge 127 ui improvements,!132Merge "UI Improvements"
Pipeline #85376 passed
<!-- TODO: remove inline stylings --> <!-- TODO: remove inline stylings -->
<template> <template>
<v-layout> <v-container>
<div class="tb-container"> <v-layout wrap>
<div style="margin-top: 10px;"> <v-flex sm4 md4 lg3>
<v-tooltip top v-if="skippable"> <v-tooltip top v-if="skippable">
<v-btn <v-btn
slot="activator" slot="activator"
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
icon="warning" icon="warning"
:value="scoreError" :value="scoreError"
>{{ scoreError }}</v-alert> >{{ scoreError }}</v-alert>
</div> </v-flex>
<div style="margin-top: 10px;"> <v-flex xs>
<span class="mr-2">Score:</span> <span class="mr-2">Score:</span>
<input <input
class="score-text-field" class="score-text-field"
...@@ -40,15 +40,19 @@ ...@@ -40,15 +40,19 @@
@click="score = fullScore" @click="score = fullScore"
color="blue darken-3" color="blue darken-3"
class="score-button">{{fullScore}}</v-btn> class="score-button">{{fullScore}}</v-btn>
</div> </v-flex>
<div style="display: flex; flex-wrap: wrap; margin-left: 20px; margin-top: 10px;"> <v-flex class="submit-container" xs4 sm4>
<v-layout wrap>
<v-flex xs4 md3>
<v-tooltip top v-if="showFinalCheckbox"> <v-tooltip top v-if="showFinalCheckbox">
<v-toolbar-items slot="activator"> <v-toolbar-items class="final-container" slot="activator">
<label>Final</label>
<v-checkbox slot="activator" v-model="isFinal" class="final-checkbox"/> <v-checkbox slot="activator" v-model="isFinal" class="final-checkbox"/>
<label style="margin-top: 25%; margin-right: 20px;">Final</label>
</v-toolbar-items> </v-toolbar-items>
<span>Non final feedback will be sent to the reviewer.</span> <span>Non final feedback will be sent to the reviewer.</span>
</v-tooltip> </v-tooltip>
</v-flex>
<v-flex xs>
<v-tooltip top> <v-tooltip top>
<v-btn <v-btn
color="success" color="success"
...@@ -58,9 +62,11 @@ ...@@ -58,9 +62,11 @@
>Submit<v-icon>chevron_right</v-icon></v-btn> >Submit<v-icon>chevron_right</v-icon></v-btn>
<span>Submit and continue</span> <span>Submit and continue</span>
</v-tooltip> </v-tooltip>
</div> </v-flex>
</div> </v-layout>
</v-flex>
</v-layout> </v-layout>
</v-container>
</template> </template>
<script> <script>
...@@ -169,7 +175,6 @@ export default { ...@@ -169,7 +175,6 @@ export default {
.score-text-field { .score-text-field {
max-width: 50px; max-width: 50px;
box-sizing: border-box; box-sizing: border-box;
height: 2.5vh;
border: 1px solid grey; border: 1px solid grey;
border-radius: 2px; border-radius: 2px;
padding: 3px; padding: 3px;
...@@ -180,11 +185,17 @@ export default { ...@@ -180,11 +185,17 @@ export default {
.score-button { .score-button {
min-width: 0px; min-width: 0px;
} }
.final-container {
margin-top: 15px;
height: 10px;
}
.final-checkbox { .final-checkbox {
margin-top: 10px; margin-left: 10px;
padding-top: 0;
margin-top: 0;
} }
.tb-container { .submit-container {
display: flex; min-width: 260px;
flex-wrap: wrap; margin-left: 10px;
} }
</style> </style>
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