Merge pull request #2425 from tugcekucukoglu/news

fix news link
pull/2426/head
Tuğçe Küçükoğlu 2022-04-08 17:02:04 +03:00 committed by GitHub
commit b39fc431e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<i></i>
<div class="layout-news-content">
<span class="layout-news-text" :style="$appState.announcement.textStyle">{{$appState.announcement.content}}</span>
<a class="layout-news-link" :style="$appState.announcement.linkStyle" :href="$appState.announcement.linkHref">{{$appState.announcement.linkText}}</a>
<a class="layout-news-link" :href="$appState.announcement.linkHref">{{$appState.announcement.linkText}}</a>
</div>
<a class="layout-news-close" :style="$appState.announcement.textStyle" @click="onClose">
<span class="pi pi-times"></span>

View File

@ -27,6 +27,16 @@
line-height: 1.5;
}
.layout-news-link,
.layout-news-link:visited,
.layout-news-link:active {
color:#ffffff;
font-weight:700;
}
.layout-news-link:hover {
text-decoration: underline;
}
.layout-news-close {
line-height: 1.5;
cursor: pointer;