Skip to content

Commit

Permalink
Remove left-side margin for tab navigational elements
Browse files Browse the repository at this point in the history
  • Loading branch information
HDinger committed Aug 21, 2024
1 parent 4c6e428 commit 392fc63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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:)) %>
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/global_styles/primer/_overrides.sass
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 392fc63

Please sign in to comment.