fix: 메인 국가·장수 정보 헤더를 제거한다
국가와 장수 카드의 본문 및 접근 가능한 이름은 유지하면서 데스크톱과 모바일의 중복 외곽 헤더만 숨긴다. 실제 Chromium 회귀로 두 viewport의 헤더 부재와 레이아웃을 검증한다.
This commit is contained in:
@@ -2,14 +2,18 @@
|
||||
interface Props {
|
||||
title: string;
|
||||
subtitle?: string;
|
||||
hideHeader?: boolean;
|
||||
}
|
||||
|
||||
defineProps<Props>();
|
||||
withDefaults(defineProps<Props>(), {
|
||||
subtitle: undefined,
|
||||
hideHeader: false,
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="panel-card">
|
||||
<header class="panel-header">
|
||||
<header v-if="!hideHeader" class="panel-header">
|
||||
<div>
|
||||
<h2 class="panel-title">{{ title }}</h2>
|
||||
<p v-if="subtitle" class="panel-subtitle">{{ subtitle }}</p>
|
||||
|
||||
Reference in New Issue
Block a user