Skip to content

Commit

Permalink
Merge pull request #49 from tighten/alk/fix-styles
Browse files Browse the repository at this point in the history
[Bugfix] fix nova-stripe styles overriding base
  • Loading branch information
faxblaster authored Aug 17, 2022
2 parents a309089 + 64a3c2e commit 4f420d6
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dist/css/tool.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/tool.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions resources/js/components/ColumnSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<template #menu>
<DropdownMenu
style="width: 100%; columns: 25vw 3"
class="p-3 text-90"
class="ns-p-3 ns-text-90"
>
<div
v-if="resource"
v-for="(value, key) in resource"
class="m-2"
class="ns-m-2"
>
<input
class="mr-2"
class="ns-mr-2"
type="checkbox"
:id="key"
:value="key"
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/cards/ChargeDetailCard.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<LoadingCard :loading="initialLoading" class="mb-6 px-6">
<LoadingCard :loading="initialLoading" class="ns-mb-6 ns-px-6">
<DetailTextField
:field="{ name: __('ID'), value: charge.id }"
></DetailTextField>
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/cards/CustomerDetailCard.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<LoadingCard :loading="initialLoading" class="mb-6 px-6">
<LoadingCard :loading="initialLoading" class="ns-mb-6 ns-px-6">
<DetailTextField
:field="{ name: __('ID'), value: customer.id }"
></DetailTextField>
Expand Down Expand Up @@ -117,7 +117,7 @@ export default {
formatAddress(address) {
return address?.line1
? `${address.line1}
${address.line2}
${address.line2}
${address.city},
${address.state}
${address.postal_code}`
Expand Down
8 changes: 4 additions & 4 deletions resources/js/components/tables/ChargesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ export default {
],
dateColumns: ['created'],
statusClassList: {
succeeded: 'bg-green-100 text-green-600',
pending: 'bg-gray-100 text-gray-600',
disputed: 'bg-orange-100 text-orange-600',
failed: 'bg-red-100 text-red-600',
succeeded: 'ns-bg-green-100 ns-text-green-600',
pending: 'ns-bg-gray-100 ns-text-gray-600',
disputed: 'ns-bg-orange-100 ns-text-orange-600',
failed: 'ns-bg-red-100 ns-text-red-600',
},
page: 1,
}
Expand Down
2 changes: 1 addition & 1 deletion resources/js/pages/Detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:meta="{ title: 'Charge Details' }"
heading="Charge Details"
>
<div class="flex flex-row-reverse mb-3">
<div class="flex ns-flex-row-reverse mb-3">
<button
v-if="
charge && !charge.refunded && charge.status === 'succeeded'
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
prefix: 'ns-',
content: [
"./resources/**/*.blade.php",
"./resources/**/*.js",
Expand Down

0 comments on commit 4f420d6

Please sign in to comment.