bugfix in histogram CSS, extended translations
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -13,11 +13,10 @@
|
||||
}
|
||||
|
||||
.bar {
|
||||
display: flex; /* flexbox for text alignment */
|
||||
align-items: flex-end; /* text sticks to bottom of bar */
|
||||
height: 100%; /* full height of flex item */
|
||||
padding: 0 2px; /* space for text */
|
||||
box-sizing: border-box; /* include padding in height */
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
padding: 0 2px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
{/each}
|
||||
<tr>
|
||||
<td class="new_option">
|
||||
{t('add element',{element:t('options')})}
|
||||
{t('add_object',{object:t('option')})}
|
||||
<input type="text" bind:value={new_option.name} />
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -33,23 +33,6 @@
|
||||
onMount(load);
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.histogram > span{
|
||||
display: inline-block;
|
||||
border: 1px solid lime;
|
||||
vertical-align: bottom;
|
||||
position: relative;
|
||||
width: 20px;
|
||||
}
|
||||
.histogram{
|
||||
height: 60px;
|
||||
}
|
||||
.histogram span span{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
{#if poll}
|
||||
<fieldset>
|
||||
<legend>{poll.name}</legend>
|
||||
|
||||
Reference in New Issue
Block a user