Skip to content

Commit

Permalink
update content tab padding
Browse files Browse the repository at this point in the history
  • Loading branch information
egauzens committed Nov 15, 2023
1 parent 0b58034 commit abd6cdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nih-sparc/sparc-design-system-components",
"version": "0.27.3",
"version": "0.27.4",
"private": false,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
8 changes: 4 additions & 4 deletions src/components/ContentTabCard/src/ContentTabCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@
:is="linkComponent"
:to="{ query: queryParams(tab.id) }"
@click.native="$emit('tab-changed', tab)"
:class="[{ active: tab.id === activeTabId }, tabStyle, tabClass, 'tab-link p-8']"
:class="[{ active: tab.id === activeTabId }, tabStyle, tabClass, 'tab-link p-16']"
>
{{ tab.label }}
</component>
<a v-else-if="tab.href"
:class="[{ active: tab.id === activeTabId }, tabStyle, tabClass, 'tab-link p-8']"
:class="[{ active: tab.id === activeTabId }, tabStyle, tabClass, 'tab-link p-16']"
:href="tab.href"
target="_blank"
>
{{ tab.label }}
</a>
<a
v-else
:class="[{ active: tab.id === activeTabId }, tabStyle, tabClass, 'tab-link p-8']"
:class="[{ active: tab.id === activeTabId }, tabStyle, tabClass, 'tab-link p-16']"
@click.prevent="$emit('tab-changed', tab)"
>
{{ tab.label }}
</a>
</span>
<div class="content mt-8 p-16">
<div class="content mt-16 p-16">
<slot />
</div>
</div>
Expand Down

0 comments on commit abd6cdc

Please sign in to comment.