Ver código fonte

Hide emoji selector in mobile view (given that it's easier to simply use the os emoji keyboard for mobile users)

sbkwgh 8 anos atrás
pai
commit
47f73d8d72

+ 6 - 0
frontend/src/components/EmojiSelector.vue

@@ -131,4 +131,10 @@
 			}
 		}
 	}
+
+	@media (max-width: 420px) {
+		.emoji_selector {
+			display: none;
+		}
+	}
 </style>

+ 7 - 1
frontend/src/components/InputEditorCore.vue

@@ -12,7 +12,7 @@
 
 			<div class='input_editor_core__format_bar'>
 				<div
-					class='input_editor_core__format_button'
+					class='input_editor_core__format_button input_editor_core__format_button--emoji'
 					title='Emoji'
 					@click='emojiSelectorVisible = true'
 				>
@@ -380,4 +380,10 @@
 			}
 		}
 	}
+
+	@media (max-width: 420px) {
+		.input_editor_core__format_button--emoji {
+			display: none;
+		}
+	}
 </style>