This commit is contained in:
nevermoregb 2025-04-03 10:12:49 +09:00
commit caba716ac6
2 changed files with 20 additions and 19 deletions

View File

@ -804,4 +804,11 @@ input:checked + .slider:before {
.cursor-none{ .cursor-none{
cursor: none !important; cursor: none !important;
}
.ml-1 {
margin-left: 0.25rem !important;
}
.mr-1{
margin-right: 0.25rem !important;
} }

View File

@ -78,15 +78,15 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<!-- 모달 푸터: 더보기 버튼 오른쪽 정렬 --> </div>
<div class="modal-foote d-flex"> <!-- 모달 푸터: 더보기 버튼 오른쪽 정렬 -->
<router-link <div class="modal-foote d-flex">
:to="{ name: 'BoardList', query: { type: selectedBoard } }" <router-link
class="btn btn-primary mr-1 pe-1 ps-1 ms-auto my-auto h-50" :to="{ name: 'BoardList', query: { type: selectedBoard } }"
> class="btn btn-primary mr-1 pe-1 ps-1 ms-auto my-auto h-50"
more >
</router-link> more
</div> </router-link>
</div> </div>
</div> </div>
</div> </div>
@ -139,7 +139,7 @@ return title.length > 8 ? title.slice(0, 8) + '...' : title;
// ( 5) // ( 5)
const fetchNoticePosts = async () => { const fetchNoticePosts = async () => {
try { try {
const { data } = await axios.get('board/notices', { params: { size: 5 } }); const { data } = await axios.get('board/notices', { params: { size: 8 } });
if (data?.data) { if (data?.data) {
noticeList.value = data.data.map(post => ({ noticeList.value = data.data.map(post => ({
id: post.id, id: post.id,
@ -161,7 +161,7 @@ try {
// board/general ( 10 5) // board/general ( 10 5)
const fetchGeneralPosts = async () => { const fetchGeneralPosts = async () => {
try { try {
const { data } = await axios.get('board/general', { params: { size: 10 } }); const { data } = await axios.get('board/general', { params: { size: 16 } });
if (data?.data && data.data.list) { if (data?.data && data.data.list) {
const freePosts = []; const freePosts = [];
const anonymousPosts = []; const anonymousPosts = [];
@ -194,8 +194,8 @@ try {
}); });
} }
}); });
freeList.value = freePosts.slice(0, 5); freeList.value = freePosts.slice(0, 8);
anonymousList.value = anonymousPosts.slice(0, 5); anonymousList.value = anonymousPosts.slice(0, 8);
} }
} catch (error) { } catch (error) {
console.error(error); console.error(error);
@ -221,10 +221,4 @@ fetchGeneralPosts();
.table > :not(caption) > * > * { .table > :not(caption) > * > * {
padding: 0 !important; padding: 0 !important;
} }
.ml-1 {
margin-left: 0.25rem;
}
.mr-1{
margin-right: 0.25rem;
}
</style> </style>