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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix vertical align and mobile width
Mir Bhatia6c06bb28834c
diff --git a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erbindex 8e28ef923dd..072d443a07e 100644--- a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb+++ b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb@@ -10,14 +10,6 @@grid.with_area(:content, tag: :span, mr: 2) doif @meeting_agenda_item.visible_work_package?flex_layout(align_items: :center) do |flex|- # flex.with_column(mr: 2, flex: 1, classes: 'ellipsis') do- # render(Primer::Beta::Link.new(href: work_package_path(@meeting_agenda_item.work_package), underline: false,- # test_selector: 'op-meeting-agenda-title',- # font_size: :normal, font_weight: :bold, target: "_blank")) do- # @meeting_agenda_item.work_package.subject- # end- # end-flex.with_column(mr: 2) dorender(Primer::Beta::Text.new(font_size: :small, color: :subtle)) do"##{@meeting_agenda_item.work_package.id} #{@meeting_agenda_item.work_package.type.name}"@@ -55,7 +47,6 @@endend-if @meeting_agenda_item.duration_in_minutes.present? && @meeting_agenda_item.duration_in_minutes > 0grid.with_area(:duration, Primer::Beta::Text, color: duration_color_scheme, mr: 2, font_size: :small) doI18n.t('datetime.distance_in_words.x_minutes_abbreviated', count: @meeting_agenda_item.duration_in_minutes)@@ -72,8 +63,6 @@endend--grid.with_area(:actions, tag: :div, justify_self: :end, classes: "hide-when-print") doif edit_enabled?render(Primer::Alpha::ActionMenu.new) do |menu|diff --git a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.sass b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.sassindex 99cd088513a..1928b228cea 100644--- a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.sass+++ b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.sass@@ -1,6 +1,7 @@@import 'helpers'$meeting-agenda-item--presenter-width: 300px+$meeting-agenda-item--presenter-width--mobile: 150px.op-meeting-agenda-itemdisplay: grid@@ -10,7 +11,9 @@ $meeting-agenda-item--presenter-width: 300px&--drag-handle,&--duration,&--content,- &--presenter,+ &--presenter+ align-self: start+&--titlealign-self: center@@ -33,8 +36,11 @@ $meeting-agenda-item--presenter-width: 300pxoverflow-wrap: anywhere@media screen and (max-width: $breakpoint-lg)- grid-template-columns: 20px auto 1fr calc($meeting-agenda-item--presenter-width - 50px) 50px+ grid-template-columns: 20px auto 1fr 150px 50pxgrid-template-areas: "drag-handle content content content actions" ". duration . presenter presenter" ". title title title title" ". notes notes notes notes"&--authorjustify-self: stretch++ &--presenter+ max-width: $meeting-agenda-item--presenter-width--mobile