Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Keywos committed Mar 21, 2024
1 parent fe79056 commit 6e9520b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store-front-end",
"version": "2.14.210",
"version": "2.14.211",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down
8 changes: 4 additions & 4 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,19 @@ const isPWA = ref(
// isSmall.value = true;
const navBarHeight = computed(() => {
return isPWA.value && !isLandscape.value ? (isSmall.value ? "78px" : "100px") : "56px";
return isPWA.value && !isLandscape.value ? (isSmall.value ? "78px" : "95px") : "56px";
});
const navBartop = computed(() => {
return isPWA.value && !isLandscape.value ? (isSmall.value ? "38px" : "60px") : "0px";
return isPWA.value && !isLandscape.value ? (isSmall.value ? "38px" : "55px") : "0px";
});
const navBartopRight = computed(() => {
return isPWA.value && !isLandscape.value ? (isSmall.value ? "52px" : "70px") : "15px";
return isPWA.value && !isLandscape.value ? (isSmall.value ? "52px" : "65px") : "15px";
});
const Pwa_top = computed(() => {
return isPWA.value ? (isSmall.value ? "20px" : "50px") : "50px";
return isPWA.value ? (isSmall.value ? "20px" : "45px") : "45px";
});
const isNeedBack = computed(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/views/FileEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
</div>
</div>

<div v-else style="width: 100%">
<div v-else style="width: 100%;height: 95vh;">
<button class="cimg-button" @click="isDis = true">
<img src="" />
取消全屏
Expand Down
9 changes: 6 additions & 3 deletions src/views/editCode/cmView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,14 @@ const pasteNav = async () => {
.cm-img-button {
display: flex;
padding-top: 10px;
padding-top: 9px;
z-index: 10;
height: 32px;
width: 98%;
height: 33px;
width: 100%;
justify-content: flex-end;
// position: absolute;
// top: 42px;
// background-color: var(--card-color);
img {
width: 16px;
height: 16px;
Expand Down

0 comments on commit 6e9520b

Please sign in to comment.