summaryrefslogtreecommitdiff
path: root/packages/client/src/ui
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-07-07 17:29:30 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-07-07 17:29:30 +0900
commitf4fcb912e3d0f14a987f4e1a1b2fb0116d9c3b3f (patch)
tree90514288f96042b6ac4bdcf06718c2b49c90809f /packages/client/src/ui
parentchore(client): tweak style (diff)
downloadsharkey-f4fcb912e3d0f14a987f4e1a1b2fb0116d9c3b3f.tar.gz
sharkey-f4fcb912e3d0f14a987f4e1a1b2fb0116d9c3b3f.tar.bz2
sharkey-f4fcb912e3d0f14a987f4e1a1b2fb0116d9c3b3f.zip
enhance(client): make widgets available on tablet again
Diffstat (limited to 'packages/client/src/ui')
-rw-r--r--packages/client/src/ui/universal.vue15
1 files changed, 1 insertions, 14 deletions
diff --git a/packages/client/src/ui/universal.vue b/packages/client/src/ui/universal.vue
index 8c48510a44..2edfb3f12d 100644
--- a/packages/client/src/ui/universal.vue
+++ b/packages/client/src/ui/universal.vue
@@ -16,7 +16,7 @@
<XWidgets @mounted="attachSticky"/>
</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">
<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 {
display: block;
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);
font-size: 22px;
background: var(--panel);
-
- &.navHidden {
- display: none;
- }
-
- @media (min-width: ($widgets-hide-threshold + 1px)) {
- display: none;
- }
- }*/
-
- > .widgetButton {
- display: none;
}
> .widgetsDrawer-back {