Skip to content

Commit

Permalink
Remove left/right and full view on mobile notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Oct 14, 2024
1 parent f2f94d6 commit 6f75838
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/components/work_packages/details/tab_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
flex.with_column(classes: "op-work-package-details-tab-component--action") do
render(Primer::Beta::IconButton.new(icon: :"chevron-left",
tag: :a,
classes: "hidden-for-tablet",
scheme: :invisible,
data: {
action: "click->work-packages--details--tabs#scrollLeft"
Expand Down Expand Up @@ -42,6 +43,7 @@
flex.with_column(classes: "op-work-package-details-tab-component--action") do
render(Primer::Beta::IconButton.new(icon: :"chevron-right",
tag: :a,
classes: "hidden-for-tablet",
scheme: :invisible,
data: {
action: "click->work-packages--details--tabs#scrollRight"
Expand All @@ -52,6 +54,7 @@
flex.with_column(classes: "op-work-package-details-tab-component--action") do
render(Primer::Beta::IconButton.new(icon: :"screen-full",
tag: :a,
classes: "hidden-for-small-laptops",
href: work_package_path(work_package.id, full_screen_tab),
target: "_top",
scheme: :invisible,
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/global_styles/layout/_base_mobile.sass
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
display: none !important

@media screen and (max-width: $breakpoint-lg)
.hidden-for-small-laptops
display: none !important

#main
grid-template-columns: auto

Expand Down

0 comments on commit 6f75838

Please sign in to comment.