Skip to content

Commit 4137bb8

Browse files
committed
visual(pages): fix horizontal page overflow
1 parent ac9f351 commit 4137bb8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

apps/client/src/layouts/PagesLayout/MainContent/DisplayUI/DisplayHorizontalPage.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const isEmpty = computed(
7474
7575
max-width: min(120px, 100vw / 4);
7676
77-
padding-top: 6px;
77+
padding-top: 2px;
7878
padding-right: 5px;
7979
padding-bottom: 2px;
8080
padding-left: 5px;
@@ -89,7 +89,6 @@ const isEmpty = computed(
8989
color: lighten(#006dd2, 23%);
9090
9191
font-size: 12px;
92-
line-height: 0.9;
9392
9493
overflow: hidden;
9594
text-overflow: ellipsis;
@@ -99,6 +98,8 @@ const isEmpty = computed(
9998
}
10099
101100
.page-title {
101+
margin-top: -3px;
102+
102103
color: #d0d0d0;
103104
104105
overflow: hidden;

apps/client/src/layouts/PagesLayout/MainContent/DisplayUI/DisplayHorizontalPath.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
position: absolute;
66
left: 12px;
77
right: 12px;
8-
top: 8px;
8+
top: 7px;
99
font-size: 13px;
1010
white-space: nowrap;
1111
@@ -26,7 +26,7 @@
2626
>
2727
<span
2828
v-if="index > 0"
29-
style="color: #808080; margin-top: -2px"
29+
style="color: #808080; margin-top: -1px"
3030
>
3131
>
3232
</span>

0 commit comments

Comments
 (0)