瀏覽代碼

Merge remote-tracking branch 'origin/polishing' into owen

Owen Diffey 3 年之前
父節點
當前提交
005f789d10
共有 3 個文件被更改,包括 12 次插入6 次删除
  1. 4 0
      frontend/src/App.vue
  2. 2 0
      frontend/src/components/FloatingBox.vue
  3. 6 6
      frontend/src/components/ReportInfoItem.vue

+ 4 - 0
frontend/src/App.vue

@@ -287,6 +287,10 @@ export default {
 		background-color: var(--dark-grey);
 		border-color: var(--grey-3);
 		color: var(--white);
+
+		&::placeholder {
+			color: var(--light-grey-3);
+		}
 	}
 
 	// &:last-of-type {

+ 2 - 0
frontend/src/components/FloatingBox.vue

@@ -150,6 +150,8 @@ export default {
 	resize: both;
 	overflow: auto;
 	border: 1px solid var(--light-grey-2);
+	border-radius: 5px;
+	padding: 10px;
 	min-height: 50px !important;
 	min-width: 50px !important;
 

+ 6 - 6
frontend/src/components/ReportInfoItem.vue

@@ -58,12 +58,6 @@ export default {
 };
 </script>
 
-<style lang="scss">
-.report-info-item .item-icon .profile-picture span {
-	font-size: 25px;
-}
-</style>
-
 <style lang="scss" scoped>
 .night-mode {
 	.report-info-item {
@@ -79,6 +73,12 @@ export default {
 		height: 45px;
 		margin-right: 10px;
 
+		/deep/ .profile-picture.using-initials span {
+			font-size: calc(
+				45px / 5 * 2
+			); // 2/5th of .profile-picture height/width
+		}
+
 		.profile-picture,
 		i {
 			width: 45px;