Client - remove useless Cards
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="card">
|
||||
<div class="card-title" :class="{ 'without-title': withoutTitle }">
|
||||
<div class="card-title">
|
||||
<slot name="title"></slot>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
@ -13,12 +13,6 @@
|
||||
import { defineComponent } from 'vue'
|
||||
export default defineComponent({
|
||||
name: 'Card',
|
||||
props: {
|
||||
withoutTitle: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
@ -30,10 +24,6 @@
|
||||
border-radius: $border-radius;
|
||||
margin: $default-margin;
|
||||
|
||||
.without-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-weight: bold;
|
||||
border-bottom: solid 1px var(--card-border-color);
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="no-workouts">
|
||||
<div class="no-workouts box">
|
||||
<div>
|
||||
{{ t('workouts.NO_WORKOUTS') }}
|
||||
<router-link to="/workouts/add">
|
||||
@ -27,9 +27,5 @@
|
||||
.no-workouts {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
border: solid 1px var(--card-border-color);
|
||||
border-radius: $border-radius;
|
||||
padding: $default-padding;
|
||||
margin: $default-margin;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user