Przeglądaj źródła

Update Profile.vue component

Daniel Supernault 5 lat temu
rodzic
commit
f1e279e5ef
1 zmienionych plików z 21 dodań i 7 usunięć
  1. 21 7
      resources/assets/js/components/Profile.vue

+ 21 - 7
resources/assets/js/components/Profile.vue

@@ -78,7 +78,7 @@
 								<!-- DESKTOP PROFILE PICTURE -->
 								<!-- DESKTOP PROFILE PICTURE -->
 								<div class="d-none d-md-block pb-5">
 								<div class="d-none d-md-block pb-5">
 									<div v-if="hasStory" class="has-story-lg cursor-pointer shadow-sm" @click="storyRedirect()">
 									<div v-if="hasStory" class="has-story-lg cursor-pointer shadow-sm" @click="storyRedirect()">
-										<img :alt="profileUsername + '\'s profile picture'" class="rounded-circle box-shadow" :src="profile.avatar" width="150px" height="150px">
+										<img :alt="profileUsername + '\'s profile picture'" class="rounded-circle box-shadow cursor-pointer" :src="profile.avatar" width="150px" height="150px">
 									</div>
 									</div>
 									<div v-else>
 									<div v-else>
 										<img :alt="profileUsername + '\'s profile picture'" class="rounded-circle box-shadow" :src="profile.avatar" width="150px" height="150px">
 										<img :alt="profileUsername + '\'s profile picture'" class="rounded-circle box-shadow" :src="profile.avatar" width="150px" height="150px">
@@ -534,19 +534,33 @@
 		font-weight: 600;
 		font-weight: 600;
 	}
 	}
 	.has-story {
 	.has-story {
-		width: 83px;
-		height: 83px;
+		width: 84px;
+		height: 84px;
 		border-radius: 50%;
 		border-radius: 50%;
-		padding: 3px;
+		padding: 4px;
 		background: radial-gradient(ellipse at 70% 70%, #ee583f 8%, #d92d77 42%, #bd3381 58%);
 		background: radial-gradient(ellipse at 70% 70%, #ee583f 8%, #d92d77 42%, #bd3381 58%);
 	}
 	}
+	.has-story img {
+		width: 76px;
+		height: 76px;
+		border-radius: 50%;
+		padding: 6px;
+		background: #fff;
+	}
 	.has-story-lg {
 	.has-story-lg {
-		width: 156px;
-		height: 156px;
+		width: 159px;
+		height: 159px;
 		border-radius: 50%;
 		border-radius: 50%;
-		padding: 3px;
+		padding: 4px;
 		background: radial-gradient(ellipse at 70% 70%, #ee583f 8%, #d92d77 42%, #bd3381 58%);
 		background: radial-gradient(ellipse at 70% 70%, #ee583f 8%, #d92d77 42%, #bd3381 58%);
 	}
 	}
+	.has-story-lg img {
+		width: 150px;
+		height: 150px;
+		border-radius: 50%;
+		padding: 6px;
+		background:#fff;
+	}
 </style>
 </style>
 <script type="text/javascript">
 <script type="text/javascript">
 	import VueMasonry from 'vue-masonry-css'
 	import VueMasonry from 'vue-masonry-css'