Skip to content

Commit

Permalink
Merge pull request #9 from nih-sparc/tailwind_scope
Browse files Browse the repository at this point in the history
remove tailwind base styles
  • Loading branch information
SamanthaKraft authored May 3, 2024
2 parents 0eb5a1d + c22eabb commit 6074cc3
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 569 deletions.
2 changes: 1 addition & 1 deletion src/assets/base.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@tailwind base;

@tailwind components;
@tailwind utilities;
3 changes: 2 additions & 1 deletion src/components/BiolucidaViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@
<style scoped lang="scss">
@import './node_modules/sparc-design-system-components-2/src/assets/_variables.scss';
.bv-metadata{
padding-left:10px;
span{
font-weight: bold;
}
}
.hightlight{
border:solid $lightPurple 2px !important;
}
iframe{padding:0; border:none;}
</style>
2 changes: 1 addition & 1 deletion src/components/FlatmapViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
const disableFlatmapUI = true;
const emit = defineEmits(['setTitle']);
emit('setTitle','Flatmap Vagus Selector');
emit('setTitle','Flatmap Selector');
const emitter = inject('emitter');
let Location ="";
Expand Down
3 changes: 2 additions & 1 deletion src/components/ItemWidget.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div ref="instance" class="grid-stack-item-content" @click="selectWidget()">

<div class="tw-flex tw-flex-row tw-items-center tw-justify-between tw-h-10 tw-content-header stick-to-top tw-p-1">
<div class="tw-flex tw-flex-row tw-items-center tw-justify-between tw-h-10 content-header stick-to-top tw-p-1">
<h3>{{ widgetTitle}}</h3>
<close v-if="!staticMode" background="#8300BF" color="white" class="close-button" @click="$emit('removeWidget')"></close>
</div>
Expand Down Expand Up @@ -83,6 +83,7 @@
margin-right:3px;
width:20px;
height: 20px;
padding:8px;
}
}
.widget-body{
Expand Down
Loading

0 comments on commit 6074cc3

Please sign in to comment.