add extra padding to the bottom of tPCC on mobile
This commit is contained in:
parent
c8d4a36347
commit
adf0c9c60d
1 changed files with 18 additions and 6 deletions
|
@ -1,9 +1,3 @@
|
|||
<div class="talkingPointContentContainer">
|
||||
<div class="talkingPointContent">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.talkingPointContentContainer {
|
||||
width: 100%;
|
||||
|
@ -25,4 +19,22 @@
|
|||
:global(.talkingPointContent li:not(:last-child)) {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
@media only screen and (max-device-width: 900px) and (orientation: portrait) {
|
||||
.talkingPointContentContainer {
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
||||
.talkingPointContentContainer .talkingPointContent {
|
||||
padding-top: 0;
|
||||
padding-left: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="talkingPointContentContainer">
|
||||
<div class="talkingPointContent">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue