Skip to content
Snippets Groups Projects
Commit 25cd5795 authored by dcz's avatar dcz
Browse files

Edit view split bugfix.

Css for edit view.
parent 2081f109
Branches
Tags
No related merge requests found
...@@ -221,3 +221,20 @@ legend { ...@@ -221,3 +221,20 @@ legend {
font-weight: bold; font-weight: bold;
font-size: 13px; font-size: 13px;
} }
.ul-preference {
padding-inline-start: 20px;
margin-bottom: 0px;
padding-top: 2px;
}
.ul-role {
padding-inline-start: 30px;
margin-bottom: 0px;
padding-top: 2px;
}
.role-column {
min-width: 120px;
max-width: 120px;
}
...@@ -819,7 +819,7 @@ Object.assign(LexicalUnitEdit, { ...@@ -819,7 +819,7 @@ Object.assign(LexicalUnitEdit, {
<tr> <tr>
<th scope="row" class="py-2 px-1 text-secondary">Role</th> <th scope="row" class="py-2 px-1 text-secondary">Role</th>
<td <td
class="argument py-2 px-1 border-top border-left border-secondary role" class="argument py-2 px-1 border-top border-left border-secondary role-column"
:class="argument == active_unified_frame_argument && 'active'" :class="argument == active_unified_frame_argument && 'active'"
v-for="argument in unified_frame_arguments" v-for="argument in unified_frame_arguments"
:key="argument.id" :key="argument.id"
...@@ -835,7 +835,7 @@ Object.assign(LexicalUnitEdit, { ...@@ -835,7 +835,7 @@ Object.assign(LexicalUnitEdit, {
[{{ argument.role.str }}] [{{ argument.role.str }}]
</div> </div>
<div v-else> <div v-else>
<ul> <ul class="ul-role">
<li v-for="proposed_role in argument.proposed_roles"> <li v-for="proposed_role in argument.proposed_roles">
{{ proposed_role.str }} {{ proposed_role.str }}
</li> </li>
...@@ -849,7 +849,7 @@ Object.assign(LexicalUnitEdit, { ...@@ -849,7 +849,7 @@ Object.assign(LexicalUnitEdit, {
v-for='argument in unified_frame_arguments' v-for='argument in unified_frame_arguments'
:key='argument.id' :key='argument.id'
> >
<ul> <ul class="ul-preference" v-if="argument.preferences.length > 0">
<li v-for='preference in argument.preferences'> <li v-for='preference in argument.preferences'>
<div <div
v-if="preference.url != null" v-if="preference.url != null"
...@@ -860,7 +860,7 @@ Object.assign(LexicalUnitEdit, { ...@@ -860,7 +860,7 @@ Object.assign(LexicalUnitEdit, {
<div v-else class="preference py-2 px-1 preference-bold">{{ preference.str }}</div> <div v-else class="preference py-2 px-1 preference-bold">{{ preference.str }}</div>
</li> </li>
</ul> </ul>
<ul> <ul class="ul-preference">
<li v-for="preference in slowal_frames2selecional_preferencies_mapping[argument.id]"> <li v-for="preference in slowal_frames2selecional_preferencies_mapping[argument.id]">
<span v-if="preference.url != null" class="preference py-2 px-1"> <span v-if="preference.url != null" class="preference py-2 px-1">
<a class="synset-plwn" v-bind:href="preference.url" target="_blank">{{ preference.str }}</a> <a class="synset-plwn" v-bind:href="preference.url" target="_blank">{{ preference.str }}</a>
......
...@@ -33,13 +33,11 @@ export default { ...@@ -33,13 +33,11 @@ export default {
</div> </div>
</div> </div>
<div id="entry-display" class="col h-100 p-0"> <div id="entry-display" class="col h-100 p-0">
<div id="right-pane">
<unification-right-pane <unification-right-pane
:entryId="entryId" :entryId="entryId"
:lexicalUnitId="lexicalUnitId" :lexicalUnitId="lexicalUnitId"
:initialUnifiedFrameId="unifiedFrameId" :initialUnifiedFrameId="unifiedFrameId"
:initialIsEdit="isEdit" /> :initialIsEdit="isEdit" />
</div>
</div> </div>
` `
}; };
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment