Skip to content

Commit e539236

Browse files
refactor(multi): refactored banner and tables
1 parent df7ea08 commit e539236

File tree

8 files changed

+30
-30
lines changed

8 files changed

+30
-30
lines changed

typescript-version/src/@core/scss/template/libs/vuetify/_overrides.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,4 @@ $alert-prepend-icon-font-size: 1.125rem !important;
192192
text-align: start !important;
193193
}
194194
}
195-
196-
td {
197-
text-align: center !important;
198-
199-
&:first-child {
200-
text-align: start !important;
201-
}
202-
}
203195
}
6.47 KB
Loading

typescript-version/src/views/pages/account-settings/AccountSettingsNotification.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,11 @@ const selectedNotification = ref('Only when I\'m online')
112112
</VCardText>
113113
</VCard>
114114
</template>
115+
116+
<style lang="scss" scoped>
117+
.v-table {
118+
th {
119+
text-align: start !important;
120+
}
121+
}
122+
</style>

typescript-version/src/views/pages/tables/DemoSimpleTableBasics.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ const desserts = [
6868
<td>
6969
{{ item.dessert }}
7070
</td>
71-
<td>
71+
<td class="text-center">
7272
{{ item.calories }}
7373
</td>
74-
<td>
74+
<td class="text-center">
7575
{{ item.fat }}
7676
</td>
77-
<td>
77+
<td class="text-center">
7878
{{ item.carbs }}
7979
</td>
80-
<td>
80+
<td class="text-center">
8181
{{ item.protein }}
8282
</td>
8383
</tr>

typescript-version/src/views/pages/tables/DemoSimpleTableDensity.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ const desserts = [
6868
<td>
6969
{{ item.dessert }}
7070
</td>
71-
<td>
71+
<td class="text-center">
7272
{{ item.calories }}
7373
</td>
74-
<td>
74+
<td class="text-center">
7575
{{ item.fat }}
7676
</td>
77-
<td>
77+
<td class="text-center">
7878
{{ item.carbs }}
7979
</td>
80-
<td>
80+
<td class="text-center">
8181
{{ item.protein }}
8282
</td>
8383
</tr>

typescript-version/src/views/pages/tables/DemoSimpleTableFixedHeader.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@ const desserts = [
7171
<td>
7272
{{ item.dessert }}
7373
</td>
74-
<td>
74+
<td class="text-center">
7575
{{ item.calories }}
7676
</td>
77-
<td>
77+
<td class="text-center">
7878
{{ item.fat }}
7979
</td>
80-
<td>
80+
<td class="text-center">
8181
{{ item.carbs }}
8282
</td>
83-
<td>
83+
<td class="text-center">
8484
{{ item.protein }}
8585
</td>
8686
</tr>

typescript-version/src/views/pages/tables/DemoSimpleTableHeight.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ const desserts = [
6868
<td>
6969
{{ item.dessert }}
7070
</td>
71-
<td>
71+
<td class="text-center">
7272
{{ item.calories }}
7373
</td>
74-
<td>
74+
<td class="text-center">
7575
{{ item.fat }}
7676
</td>
77-
<td>
77+
<td class="text-center">
7878
{{ item.carbs }}
7979
</td>
80-
<td>
80+
<td class="text-center">
8181
{{ item.protein }}
8282
</td>
8383
</tr>

typescript-version/src/views/pages/tables/DemoSimpleTableTheme.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const desserts = [
4242
<VTable theme="dark">
4343
<thead>
4444
<tr>
45-
<th class="text-uppercase">
45+
<th>
4646
Desserts (100g Servings)
4747
</th>
4848
<th class="text-uppercase">
@@ -65,19 +65,19 @@ const desserts = [
6565
v-for="item in desserts"
6666
:key="item.dessert"
6767
>
68-
<td>
68+
<td class="text-center">
6969
{{ item.dessert }}
7070
</td>
71-
<td>
71+
<td class="text-center">
7272
{{ item.calories }}
7373
</td>
74-
<td>
74+
<td class="text-center">
7575
{{ item.fat }}
7676
</td>
77-
<td>
77+
<td class="text-center">
7878
{{ item.carbs }}
7979
</td>
80-
<td>
80+
<td class="text-center">
8181
{{ item.protein }}
8282
</td>
8383
</tr>

0 commit comments

Comments
 (0)