diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-07-07 17:29:30 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-07-07 17:29:30 +0900 |
| commit | f4fcb912e3d0f14a987f4e1a1b2fb0116d9c3b3f (patch) | |
| tree | 90514288f96042b6ac4bdcf06718c2b49c90809f /packages/client | |
| parent | chore(client): tweak style (diff) | |
| download | sharkey-f4fcb912e3d0f14a987f4e1a1b2fb0116d9c3b3f.tar.gz sharkey-f4fcb912e3d0f14a987f4e1a1b2fb0116d9c3b3f.tar.bz2 sharkey-f4fcb912e3d0f14a987f4e1a1b2fb0116d9c3b3f.zip | |
enhance(client): make widgets available on tablet again
Diffstat (limited to 'packages/client')
| -rw-r--r-- | packages/client/src/ui/universal.vue | 15 |
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 { |