Skip to content

Commit

Permalink
rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jjabari-op committed Sep 10, 2024
1 parent 4cc43ff commit a86e4b9
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,23 @@ def render_user_avatar(container)
end

def render_user_name_for_desktop(container)
container.with_column(mr: 1,
classes: "work-packages-activities-tab-journals-item-component-details--user-name ellipsis hidden-for-mobile") do
container.with_column(
mr: 1,
classes: "work-packages-activities-tab-journals-item-component-details--user-name ellipsis hidden-for-mobile"
) do
truncated_user_name(journal.user)
end
end

def render_user_name_and_time_for_mobile(container)
container.with_column(
mr: 1, classes: "work-packages-activities-tab-journals-item-component-details--user-name-container hidden-for-desktop",
mr: 1,
classes: "work-packages-activities-tab-journals-item-component-details--user-name-container hidden-for-desktop",
flex_layout: true
) do |user_name_and_time_container|
user_name_and_time_container.with_row(classes: "work-packages-activities-tab-journals-item-component-details--user-name ellipsis") do
user_name_and_time_container.with_row(
classes: "work-packages-activities-tab-journals-item-component-details--user-name ellipsis"
) do
truncated_user_name(journal.user)
end
user_name_and_time_container.with_row do
Expand Down

0 comments on commit a86e4b9

Please sign in to comment.