Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

remove unnecessary styles

bsatarnejade772f94cfab5
diff --git a/app/views/homescreen/blocks/_news.html.erb b/app/views/homescreen/blocks/_news.html.erb
index 17fd5c63dfc..e5679870546 100644
--- a/app/views/homescreen/blocks/_news.html.erb
+++ b/app/views/homescreen/blocks/_news.html.erb
@@ -4,7 +4,7 @@
<% @news.each do |news| %>
<li class="widget-box--arrow-multiline">
<%= avatar(news.author, class: 'widget-box--avatar news-author-avatar hidden-for-mobile') %>
- <div class="widget-box--project news--project">
+ <div class="widget-box--project">
<%= link_to_project(news.project) + ': ' %>
<%= link_to h(news.title), news_path(news) %>
</div>
diff --git a/frontend/src/app/shared/components/grids/widgets/news/news.component.html b/frontend/src/app/shared/components/grids/widgets/news/news.component.html
index 8090daf8541..1c4ade0fd2a 100644
--- a/frontend/src/app/shared/components/grids/widgets/news/news.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/news/news.component.html
@@ -25,7 +25,7 @@
[hideName]="true"
class="widget-box--avatar news-author-avatar hidden-for-mobile"
></op-principal>
- <div class="widget-box--project news--project">
+ <div class="widget-box--project">
<a
[href]="newsProjectPath(news)"
[textContent]="newsProjectName(news)"
diff --git a/frontend/src/global_styles/content/_news.sass b/frontend/src/global_styles/content/_news.sass
index a20864528ad..dbde7336a7e 100644
--- a/frontend/src/global_styles/content/_news.sass
+++ b/frontend/src/global_styles/content/_news.sass
@@ -40,7 +40,6 @@
font-size: 0.8rem
color: var(--gray-dark)
display: block
- padding: 5px 0 5px 0px
line-height: 1.25
.news-author-avatar
@@ -49,8 +48,6 @@
.op-avatar
margin-right: 10px
-.news--project
-
@media screen and (max-width: 679px)
.news-author
padding-left: 0