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 left-side margin for tab navigational elements

Henriette Darge392fc6377e8b
diff --git a/app/components/projects/configure_view_modal_component.html.erb b/app/components/projects/configure_view_modal_component.html.erb
index 6c8ea75bfbe..132e715c0dc 100644
--- a/app/components/projects/configure_view_modal_component.html.erb
+++ b/app/components/projects/configure_view_modal_component.html.erb
@@ -16,7 +16,7 @@
<%= hidden_field_tag name, value %>
<% end %>
<%= render(Primer::Alpha::TabPanels.new(label: "label")) do |tab_panel| %>
- <% tab_panel.with_tab(selected: true, id: "tab-selects") do |tab| %>
+ <% tab_panel.with_tab(selected: true, id: "tab-selects--columns") do |tab| %>
<% tab.with_text { I18n.t("label_columns") } %>
<% tab.with_panel do %>
<%= helpers.angular_component_tag 'opce-draggable-autocompleter',
@@ -33,7 +33,7 @@
}%>
<% end %>
<% end %>
- <% tab_panel.with_tab(id: "tab-selects") do |tab| %>
+ <% tab_panel.with_tab(id: "tab-selects--sorting") do |tab| %>
<% tab.with_text { I18n.t("label_sort") }%>
<% tab.with_panel do %>
<%= render(Queries::SortByComponent.new(query: query, selectable_columns:)) %>
diff --git a/frontend/src/global_styles/primer/_overrides.sass b/frontend/src/global_styles/primer/_overrides.sass
index 6654dc893a0..a953272554e 100644
--- a/frontend/src/global_styles/primer/_overrides.sass
+++ b/frontend/src/global_styles/primer/_overrides.sass
@@ -59,7 +59,8 @@ action-menu
#breadcrumb,
page-header,
sub-header,
-.op-work-package-details-tab-component
+.op-work-package-details-tab-component,
+.tabnav
ol, ul
margin-left: 0