Skip to content

Commit

Permalink
CU-862k0b38r: don't show desc if n/a, reduce size of titles, reduce p…
Browse files Browse the repository at this point in the history
…adding between rows, reduce padding between tds.
  • Loading branch information
tomolopolis committed Jun 20, 2023
1 parent 1bffb37 commit 7260ef6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions webapp/frontend/src/components/common/ConceptSummary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<td>Synonyms</td>
<td class="fit-content" v-html="(conceptSummary.Synonyms || []).join('<br>')"></td>
</tr>
<tr>
<tr v-if="(conceptSummary['Description'] || []).length > 0">
<td>Description</td>
<td class="fit-content" v-html="conceptSummary.Description === 'nan' ? 'n/a' : conceptSummary.Description || 'n/a'"></td>
</tr>
Expand Down Expand Up @@ -243,7 +243,7 @@ export default {
box-shadow: 0 5px 5px -5px rgba(0,0,0,0.2);
> td {
padding: 10px 15px;
padding: 5px 10px;
vertical-align: top;
&:first-child {
Expand All @@ -252,7 +252,7 @@ export default {
&.fit-content {
display: inline-block;
max-height: 250px;
max-height: 150px;
overflow-y: auto;
width: 100%;
}
Expand Down
1 change: 0 additions & 1 deletion webapp/frontend/src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Vue.use(Router)

export default new Router({
mode: 'history',
// base: '/',
routes: [
{
path: '/train-annotations/:projectId/:docId?',
Expand Down
2 changes: 1 addition & 1 deletion webapp/frontend/src/styles/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $blur-radius: 10px;

.title {
padding: 5px 15px;
font-size: 16pt;
font-size: 14pt;
box-shadow: 0 5px 5px -5px rgba(0,0,0,0.2);
color: black;
height: $title-height;
Expand Down

0 comments on commit 7260ef6

Please sign in to comment.