Web: Set titles for dt elements in tables
Since the cell has a fixed width and can be cropped.
This commit is contained in:
parent
5dae53c1c5
commit
14ea7fc0a5
@ -151,6 +151,10 @@ dl {
|
|||||||
dl dt {
|
dl dt {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
width: 100px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
dl dd {
|
dl dd {
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<h3 class="sub-title" v-if="hasMetadata">Meta-data</h3>
|
<h3 class="sub-title" v-if="hasMetadata">Meta-data</h3>
|
||||||
<dl>
|
<dl>
|
||||||
<template v-for="value, key in jobData.metadata">
|
<template v-for="value, key in jobData.metadata">
|
||||||
<dt :class="`field-${key}`">{{ key }}</dt>
|
<dt :class="`field-${key}`" :title="key">{{ key }}</dt>
|
||||||
<dd>{{ value }}</dd>
|
<dd>{{ value }}</dd>
|
||||||
</template>
|
</template>
|
||||||
</dl>
|
</dl>
|
||||||
@ -39,7 +39,7 @@
|
|||||||
<h3 class="sub-title" v-if="hasSettings">Settings</h3>
|
<h3 class="sub-title" v-if="hasSettings">Settings</h3>
|
||||||
<dl>
|
<dl>
|
||||||
<template v-for="value, key in settingsToDisplay">
|
<template v-for="value, key in settingsToDisplay">
|
||||||
<dt :class="`field-${key}`">{{ key }}</dt>
|
<dt :class="`field-${key}`" :title="key">{{ key }}</dt>
|
||||||
<dd>{{ value }}</dd>
|
<dd>{{ value }}</dd>
|
||||||
</template>
|
</template>
|
||||||
</dl>
|
</dl>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<h3 class="sub-title">Commands</h3>
|
<h3 class="sub-title">Commands</h3>
|
||||||
<dl>
|
<dl>
|
||||||
<template v-for="cmd in taskData.commands">
|
<template v-for="cmd in taskData.commands">
|
||||||
<dt :class="`field-${cmd.name}`">{{ cmd.name }}</dt>
|
<dt :class="`field-${cmd.name}`" :title="cmd.name">{{ cmd.name }}</dt>
|
||||||
<dd>{{ cmd.parameters }}</dd>
|
<dd>{{ cmd.parameters }}</dd>
|
||||||
</template>
|
</template>
|
||||||
</dl>
|
</dl>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user