fix alignment issue in TPN
This commit is contained in:
parent
f790bdca38
commit
59720edf54
1 changed files with 11 additions and 7 deletions
|
@ -1,14 +1,18 @@
|
|||
<script>
|
||||
export let text = 'replace this'
|
||||
export let text = "replace this";
|
||||
</script>
|
||||
|
||||
<div class="talkingPointNameContainer">
|
||||
<h2 class="talkingPointName">{text}</h2>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.talkingPointNameContainer {
|
||||
width: 100%;
|
||||
height: 115px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-end;
|
||||
background-color: #00111d;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
@ -21,6 +25,10 @@
|
|||
}
|
||||
|
||||
@media only screen and (max-device-width: 900px) and (orientation: portrait) {
|
||||
.talkingPointNameContainer {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.talkingPointNameContainer .talkingPointName {
|
||||
padding-top: 0;
|
||||
padding-right: 0;
|
||||
|
@ -28,7 +36,3 @@
|
|||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="talkingPointNameContainer">
|
||||
<h2 class="talkingPointName">{text}</h2>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue