Compare commits

...

2 Commits

Author SHA1 Message Date
0026cba23d postcss 2023-10-02 09:30:26 +02:00
c587fb75f2 cleanup ui 2023-10-01 22:04:01 +02:00
9 changed files with 8 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ const route = useRoute();
</template> </template>
</template> </template>
<style scoped> <style scoped lang="postcss">
div.main-container { div.main-container {
@apply px-4 sm:ml-64; @apply px-4 sm:ml-64;
} }

View File

@@ -46,7 +46,7 @@ useEventListener('keyup', e => {
</Transition> </Transition>
</template> </template>
<style scoped> <style scoped lang="postcss">
.fade-enter-from, .fade-leave-to { .fade-enter-from, .fade-leave-to {
opacity: 0; opacity: 0;

View File

@@ -118,7 +118,7 @@ const getLineColor = (result: Result) => {
</table> </table>
</template> </template>
<style scoped> <style scoped lang="postcss">
div.end { div.end {
@apply justify-self-end ms-2; @apply justify-self-end ms-2;
} }

View File

@@ -111,7 +111,7 @@ const getLineColor = (result: Result) => {
</table> </table>
</template> </template>
<style scoped> <style scoped lang="postcss">
div.end { div.end {
@apply justify-self-end ms-2; @apply justify-self-end ms-2;
} }

View File

@@ -17,7 +17,7 @@ import { RouterLink, RouterView } from 'vue-router';
</div> </div>
</template> </template>
<style scoped> <style scoped lang="postcss">
a.tab { a.tab {
@apply flex items-center px-4 me-2 rounded-t-md bg-slate-600 hover:bg-slate-700; @apply flex items-center px-4 me-2 rounded-t-md bg-slate-600 hover:bg-slate-700;
&.router-link-active { &.router-link-active {

View File

@@ -30,7 +30,6 @@ watch(() => trackedItemStore.items.value, async itms => {
<template> <template>
<div class="mt-4"> <div class="mt-4">
<template v-if="items.length > 0"> <template v-if="items.length > 0">
<hr />
<TrackResultTable :items="items" @buy="(type, price, buy, sell) => buyModal?.open(type, { 'Price': price, 'Buy': buy, 'Sell': sell })" @sell="type => sellModal?.open(type)" /> <TrackResultTable :items="items" @buy="(type, price, buy, sell) => buyModal?.open(type, { 'Price': price, 'Buy': buy, 'Sell': sell })" @sell="type => sellModal?.open(type)" />
<BuyModal ref="buyModal" /> <BuyModal ref="buyModal" />
<SellModal ref="sellModal" /> <SellModal ref="sellModal" />

View File

@@ -25,7 +25,7 @@ const value = useVModel(props, 'modelValue', emit);
</label> </label>
</template> </template>
<style scoped> <style scoped lang="postcss">
input:checked ~ span:last-child { input:checked ~ span:last-child {
--tw-translate-x: 1.75rem; --tw-translate-x: 1.75rem;
} }

View File

@@ -34,7 +34,7 @@ const logout = async () => {
</aside> </aside>
</template> </template>
<style scoped> <style scoped lang="postcss">
.router-link-active { .router-link-active {
@apply bg-emerald-500 hover:bg-emerald-700; @apply bg-emerald-500 hover:bg-emerald-700;
} }

View File

@@ -24,7 +24,7 @@ const emit = defineEmits<Emit>();
</th> </th>
</template> </template>
<style scoped> <style scoped lang="postcss">
th { th {
@apply relative h-8 pe-3; @apply relative h-8 pe-3;
} }