0
0

enhance(client): make widgets available on tablet again

This commit is contained in:
syuilo 2022-07-07 17:29:30 +09:00
parent 1c5f339d09
commit f4fcb912e3
2 changed files with 2 additions and 14 deletions

View File

@ -29,6 +29,7 @@ You should also include the user name that made the change.
- Client: Word mute also checks content warnings @Johann150 - Client: Word mute also checks content warnings @Johann150
- Client: メニューからページをリロードできるように @syuilo - Client: メニューからページをリロードできるように @syuilo
- Client: Improve emoji picker performance @syuilo - Client: Improve emoji picker performance @syuilo
- Client: Make widgets available again on a tablet @syuilo
- ユーザーにモデレーションメモを残せる機能 @syuilo - ユーザーにモデレーションメモを残せる機能 @syuilo
- Make possible to delete an account by admin @syuilo - Make possible to delete an account by admin @syuilo
- Improve player detection in URL preview @mei23 - Improve player detection in URL preview @mei23

View File

@ -16,7 +16,7 @@
<XWidgets @mounted="attachSticky"/> <XWidgets @mounted="attachSticky"/>
</div> </div>
<button class="widgetButton _button" :class="{ show: true }" @click="widgetsShowing = true"><i class="fas fa-layer-group"></i></button> <button v-if="!isDesktop && !isMobile" class="widgetButton _button" @click="widgetsShowing = true"><i class="fas fa-layer-group"></i></button>
<div v-if="isMobile" class="buttons"> <div v-if="isMobile" class="buttons">
<button class="button nav _button" @click="drawerMenuShowing = true"><i class="fas fa-bars"></i><span v-if="menuIndicated" class="indicator"><i class="fas fa-circle"></i></span></button> <button class="button nav _button" @click="drawerMenuShowing = true"><i class="fas fa-bars"></i><span v-if="menuIndicated" class="indicator"><i class="fas fa-circle"></i></span></button>
@ -249,7 +249,6 @@ const wallpaper = localStorage.getItem('wallpaper') != null;
} }
} }
/*
> .widgetButton { > .widgetButton {
display: block; display: block;
position: fixed; position: fixed;
@ -262,18 +261,6 @@ const wallpaper = localStorage.getItem('wallpaper') != null;
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12); box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
font-size: 22px; font-size: 22px;
background: var(--panel); background: var(--panel);
&.navHidden {
display: none;
}
@media (min-width: ($widgets-hide-threshold + 1px)) {
display: none;
}
}*/
> .widgetButton {
display: none;
} }
> .widgetsDrawer-back { > .widgetsDrawer-back {