Skip to content

Commit 6ccd71b

Browse files
committed
Refactor NotebooksView layout for improved responsiveness and readability
1 parent 06c8262 commit 6ccd71b

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

frontend/src/views/NotebooksView.vue

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-container>
2+
<v-container fluid>
33
<div>
44
<p>
55
This page provides example notebooks for interacting with SWOT data. These notebooks are
@@ -24,30 +24,24 @@
2424
</v-card>
2525
</v-col>
2626
</v-row>
27-
<v-row v-else gutter="4" class="mb-4">
27+
<v-row v-else class="mb-4" dense>
2828
<v-col v-for="resource in resourcesMetadata" :key="resource.id">
2929
<v-card class="d-flex flex-column" variant="elevated" outlined height="300">
3030
<v-card-item>
31-
<div>
32-
<div class="text-overline mb-1">
33-
{{ variant }}
34-
</div>
35-
<v-card-title>{{ resource.title }}</v-card-title>
36-
<v-card-subtitle>{{ authors(resource) }}</v-card-subtitle>
37-
</div>
31+
<v-card-title>{{ resource.title }}</v-card-title>
32+
<v-card-subtitle>{{ authors(resource) }}</v-card-subtitle>
3833
</v-card-item>
3934
<v-card-text>
4035
<v-chip v-for="subject in resource.subjects" :key="subject">
4136
{{ subject }}
4237
</v-chip>
43-
<v-spacer></v-spacer>
44-
{{ resource.abstract }}
45-
<v-spacer></v-spacer>
38+
<div class="my-2">
39+
{{ resource.abstract }}
40+
</div>
4641
<div class="my-2" style="color: grey">
4742
{{ resource.citation }}
4843
</div>
4944
</v-card-text>
50-
<v-spacer></v-spacer>
5145
<v-card-actions>
5246
<v-btn v-if="resource.notebooks.length > 1">
5347
<v-tooltip activator="parent" location="bottom">

0 commit comments

Comments
 (0)