Skip to content

Commit

Permalink
fix: Reduce spacing a bit and align contexts headers
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Mar 14, 2024
1 parent 2da88c4 commit 4009e8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
13 changes: 7 additions & 6 deletions src/pages/Context.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<div class="row">
<div v-if="loading" class="icon-loading" />
<div v-if="!loading && context">
<div class="content first-row">
<div class="row">
<h1 style="display: flex; align-items: center;">
<NcIconSvgWrapper :svg="icon" :size="40" style="display: inline-block;" />&nbsp; {{ activeContext.name }}
<div class="content context">
<div class="row first-row">
<h1 class="context__title">
<NcIconSvgWrapper :svg="icon" :size="32" style="display: inline-block;" />&nbsp; {{ activeContext.name }}
</h1>
</div>
<div class="row">
<h3> {{ activeContext.description }}</h3>
<div class="row space-L context__description">
{{ activeContext.description }}
</div>
</div>

Expand Down Expand Up @@ -209,6 +209,7 @@ export default {
min-height: 32px;
}
}
.resource {
margin: 40px 0;
Expand Down
5 changes: 1 addition & 4 deletions src/shared/components/ncContextResource/ResourceList.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
<template>
<div>
<div class="resource-label">
{{ t('tables', 'Selected Resources') }}
</div>
<div v-if="loading" class="icon-loading" />
<ul v-if="getResources && getResources.length > 0" class="resource-list">
<div v-for="resource in getResources" :key="resource.key" class="row">
<div class="fix-col-2">
<div style="display:flex; align-items: center;">
<div style="display:flex; align-items: center; padding: 10px;">
{{ resource.emoji }} &nbsp; {{ resource.title }}
</div>
</div>
Expand Down

0 comments on commit 4009e8e

Please sign in to comment.