Skip to content

Commit

Permalink
Fix chromium scrolling issue.
Browse files Browse the repository at this point in the history
This thread revolves around this issue with elm-ui:
mdgriffith/elm-ui#367
  • Loading branch information
jumper149 committed Oct 12, 2024
1 parent fb5d9e3 commit 269c4ec
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/source/Mensam/Screen/Dashboard.elm
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ element model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = model.spaces
, columns =
Expand Down Expand Up @@ -367,6 +368,7 @@ element model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = model.reservations
, columns =
Expand Down
1 change: 1 addition & 0 deletions frontend/source/Mensam/Screen/Reservations.elm
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ element model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = model.reservations
, columns =
Expand Down
1 change: 1 addition & 0 deletions frontend/source/Mensam/Screen/Space.elm
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@ deskTimetable model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
, Element.htmlAttribute <| Html.Attributes.style "user-select" "none"
]
{ data = model.desks
Expand Down
1 change: 1 addition & 0 deletions frontend/source/Mensam/Screen/Space/Desks.elm
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ element model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = model.desks
, columns =
Expand Down
2 changes: 2 additions & 0 deletions frontend/source/Mensam/Screen/Space/Role.elm
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ element model =
, Element.height Element.fill
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
[ Element.row
[ Element.width Element.fill
Expand Down Expand Up @@ -460,6 +461,7 @@ element model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = List.filter (\role -> role.id /= model.role.id) model.roles
, columns =
Expand Down
1 change: 1 addition & 0 deletions frontend/source/Mensam/Screen/Space/Roles.elm
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ element model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = model.roles
, columns =
Expand Down
1 change: 1 addition & 0 deletions frontend/source/Mensam/Screen/Space/Settings.elm
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ element model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = Mensam.Time.allTimezones
, columns =
Expand Down
2 changes: 2 additions & 0 deletions frontend/source/Mensam/Screen/Space/Users.elm
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ element model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = Dict.values model.users
, columns =
Expand Down Expand Up @@ -417,6 +418,7 @@ element model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = model.roles
, columns =
Expand Down
1 change: 1 addition & 0 deletions frontend/source/Mensam/Screen/Spaces.elm
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ element model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = model.spaces
, columns =
Expand Down
1 change: 1 addition & 0 deletions frontend/source/Mensam/Widget/Timezone.elm
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ elementPickTimezone model =
, Element.Font.size 16
, Element.clipY
, Element.scrollbarY
, Element.htmlAttribute <| Html.Attributes.style "contain" "size"
]
{ data = Mensam.Time.allTimezones
, columns =
Expand Down

0 comments on commit 269c4ec

Please sign in to comment.