]> Untitled Git - lemmy-ui.git/commitdiff
Fix table layout on mobile
authorAnon <makotech222@gmail.com>
Sun, 26 Feb 2023 17:18:25 +0000 (11:18 -0600)
committerAnon <makotech222@gmail.com>
Sun, 26 Feb 2023 17:22:05 +0000 (11:22 -0600)
src/shared/components/home/emojis-form.tsx

index 73fceac573250c97905884bf6c31948485826b71..35e1ba26405658caef56efa44f4383e6ccf5886b 100644 (file)
@@ -91,9 +91,9 @@ export class EmojiForm extends Component<any, EmojiFormState> {
                                 <th>{i18n.t("column_emoji")}</th>
                                 <th className="text-right">{i18n.t("column_shortcode")}</th>
                                 <th className="text-right">{i18n.t("column_category")}</th>
-                                <th className="text-right">{i18n.t("column_imageurl")}</th>
+                                <th className="text-right d-lg-table-cell d-none">{i18n.t("column_imageurl")}</th>
                                 <th className="text-right">{i18n.t("column_alttext")}</th>
-                                <th className="text-right d-none d-lg-table-cell">{i18n.t("column_keywords")}</th>
+                                <th className="text-right d-lg-table-cell">{i18n.t("column_keywords")}</th>
                                 <th style="width:121px"></th>
                             </tr>
                         </thead>
@@ -137,7 +137,7 @@ export class EmojiForm extends Component<any, EmojiFormState> {
                                                 onInput={linkEvent({form: this, index: index},this.handleEmojiCategoryChange)}
                                             />
                                         </td>
-                                        <td className="text-right">
+                                        <td className="text-right d-lg-table-cell d-none">
                                             <input
                                                 type="text"
                                                 placeholder="Url"
@@ -155,7 +155,7 @@ export class EmojiForm extends Component<any, EmojiFormState> {
                                                 onInput={linkEvent({form: this, index: index},this.handleEmojiAltTextChange)}
                                             />
                                         </td>
-                                        <td className="text-right d-none d-lg-table-cell">
+                                        <td className="text-right d-lg-table-cell">
                                             <input
                                                 type="text"
                                                 placeholder="Keywords"