bugfix in histogram CSS, extended translations

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-03-10 12:05:47 +01:00
parent b6a025a55b
commit 779488ab1f
5 changed files with 23 additions and 23 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>