}
}
+.acpDashboardBox[data-name="com.woltlab.wcf.news"] .acpDashboardBox__content {
+ padding: 0;
+}
+
.woltlabNewsfeed {
- border: 1px solid var(--wcfContentBorderInner);
- border-radius: var(--wcfBorderRadius);
- height: 70vh;
+ border-radius: 0 0 var(--wcfBorderRadius) var(--wcfBorderRadius);
+ height: 400px;
max-width: 100%;
overflow: hidden;
text-align: center;
}
.woltlabNewsfeed__iframe {
- border-radius: var(--wcfBorderRadius);
+ border-radius: 0 0 var(--wcfBorderRadius) var(--wcfBorderRadius);
height: 100%;
max-width: 100%;
width: 600px;
<div class="acpDashboard">
{foreach from=$dashboard->getVisibleBoxes() item='box'}
- <div class="acpDashboardBox">
+ <div class="acpDashboardBox" data-name="{$box->getName()}">
<h2 class="acpDashboardBox__title">{$box->getTitle()}</h2>
<div class="acpDashboardBox__content">
{@$box->getContent()}
() => container.classList.remove("woltlabNewsfeed--loading"),
{ once: true }
);
- iframe.src = `https://newsfeed.woltlab.com/${ languageCode }_${ colorScheme }.html`;
+ iframe.src = `https://newsfeed.woltlab.com/${ languageCode }_${ colorScheme }_compact.html`;
};
const observer = new MutationObserver(() => {