diff --git a/client/assets/styles/global/variables.scss b/client/assets/styles/global/variables.scss
index c59074068..e3e90c6aa 100644
--- a/client/assets/styles/global/variables.scss
+++ b/client/assets/styles/global/variables.scss
@@ -52,5 +52,5 @@ $title-color-fake-gradient: linear-gradient(to right, var(--title-color), var(--
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
// grid-auto-rows: minmax(300px, auto);
- grid-gap: 1em 2em;
+ gap: 1em 2em;
}
diff --git a/client/components/SectionTitle.vue b/client/components/SectionTitle.vue
index 778d7d5ce..a9226a01b 100644
--- a/client/components/SectionTitle.vue
+++ b/client/components/SectionTitle.vue
@@ -4,6 +4,7 @@
{{ title }}
+
@@ -33,19 +34,18 @@ export default {
z-index: 9;
display: block;
width: 100%;
+ display: flex;
+ flex-direction: row;
.title {
- position: absolute;
+ position: relative;
top: 0;
- left: 50%;
- transform: translateX(-50%);
- width: 100%;
max-width: $main-width;
- margin: 0 auto;
+ margin: 0;
line-height: 80px;
font-size: 1.7rem;
text-align: start;
- padding: 0 0 0 20px;
+ padding: 0;
color: var(--title-color);
box-sizing: border-box;
z-index: 9;
@@ -73,5 +73,13 @@ export default {
}
}
}
+ .line {
+ height: 2px;
+ flex-grow: 1;
+ background: linear-gradient(to right, transparent 5%, var(--theme-color-translucent) 15%);
+ position: relative;
+ top: 50%;
+ display: block;
+ }
}
diff --git a/client/components/channel/Overview.vue b/client/components/channel/Overview.vue
index 107388d24..388473f20 100644
--- a/client/components/channel/Overview.vue
+++ b/client/components/channel/Overview.vue
@@ -2,11 +2,8 @@
-
-
+
+
@@ -15,34 +12,23 @@
- {{
- channel.subCount.toLocaleString('en-US')
- }}
+ {{ channel.subCount.toLocaleString('en-US') }}
subscribers
- {{
- channel.totalViews.toLocaleString('en-US')
- }}
+ {{ channel.totalViews.toLocaleString('en-US') }}
total views
joined
- {{
- getFormattedDate(
- new Date(channel.joined * 1000)
- )
- }}
+ {{ getFormattedDate(new Date(channel.joined * 1000)) }}
-
+
family friendly
@@ -76,9 +62,7 @@ export default {
methods: {
getFormattedDate(rawDate) {
const date = new Date(rawDate);
- return `${date.getDate()}.${
- date.getMonth() + 1
- }.${date.getFullYear()}`;
+ return `${date.getDate()}.${date.getMonth() + 1}.${date.getFullYear()}`;
}
}
};
diff --git a/client/components/list/ChannelEntry.vue b/client/components/list/ChannelEntry.vue
index fa345b670..642f0751f 100644
--- a/client/components/list/ChannelEntry.vue
+++ b/client/components/list/ChannelEntry.vue
@@ -67,7 +67,6 @@ export default {
.channel-entry-background {
position: absolute;
- height: 175px;
top: 10px;
width: 175px;
left: 50%;
@@ -85,7 +84,7 @@ export default {
height: 175px;
overflow: hidden;
position: relative;
- box-shadow: $max-shadow;
+ box-shadow: $medium-shadow;
margin: 0 auto;
z-index: 11;
@@ -112,6 +111,7 @@ export default {
.channel-entry-thmb-image {
width: 100%;
+ display: block;
}
}
}
diff --git a/client/components/list/CollapsibleSection.vue b/client/components/list/CollapsibleSection.vue
index 2d199c513..7ef03c49c 100644
--- a/client/components/list/CollapsibleSection.vue
+++ b/client/components/list/CollapsibleSection.vue
@@ -1,18 +1,11 @@
-
+
-
+
@@ -22,22 +15,17 @@
diff --git a/client/pages/index.vue b/client/pages/index.vue
index e095a73ef..f2a9dbbe7 100644
--- a/client/pages/index.vue
+++ b/client/pages/index.vue
@@ -77,10 +77,17 @@ export default {