Prechádzať zdrojové kódy

Add user posts css to user posts page

sbkwgh 8 rokov pred
rodič
commit
4df276d155

+ 0 - 8
src/components/routes/User.vue

@@ -116,12 +116,4 @@
 		margin-left: 5rem;
 		width: 75%;
 	}
-	.user_posts {
-		width: calc(75% + 5rem);
-
-		@at-root #{&}__title {
-			font-size: 1.5rem;
-			margin-bottom: 1rem;
-		}
-	}
 </style>

+ 9 - 0
src/components/routes/UserPosts.vue

@@ -85,4 +85,13 @@
 
 <style lang='scss' scoped>
 	@import '../../assets/scss/variables.scss';
+
+	.user_posts {
+		width: calc(75% + 5rem);
+
+		@at-root #{&}__title {
+			font-size: 1.5rem;
+			margin-bottom: 1rem;
+		}
+	}
 </style>