Skip to content

Commit 72f2820

Browse files
committed
fix: have the aside bar be of constant width when on tablets.
1 parent 4c5f23e commit 72f2820

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

PinkSea.Frontend/src/components/TimeLineOekakiCard.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,10 @@ const openInNewTab = () => {
9797
width: calc(100% - 30px);
9898
}
9999
}
100+
101+
@media (min-width: 768px) and (max-width: 932px) {
102+
.oekaki-card {
103+
width: calc((100% / 2) - 25px);
104+
}
105+
}
100106
</style>

PinkSea.Frontend/src/layouts/PanelLayout.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ const getCreateSomethingButtonName = computed(() => {
171171
172172
.container aside {
173173
display: unset;
174-
width: 260px;
174+
max-width: 260px;
175+
width: 100%;
175176
height: 100vh;
176177
background-size: 8px 8px;
177178
background-image: repeating-linear-gradient(45deg, #FFB6C1 0, #FFB6C1 0.8px, #FFFFFF 0, #FFFFFF 50%);

0 commit comments

Comments
 (0)