Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !36848

Utilities for overflow and object fit

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/MadeByRaymond/utilities-for-overflow-and-object-fit into main Jul 26, 2022
  • Overview 8
  • Commits 12
  • Pipelines 0
  • Changes 7

Created by: MadeByRaymond

Added "overflow-x" and "overflow-y"

  • Having the same properties as overflow but for just the x and y axises
  • Usecase being I want my y axis to be scrollable but not my x axis
  • E.g a card with a vertical list of items.

Added "object-fit" utilities

  • The CSS object-fit property is used to specify how an <img> or <video> should be resized to fit its container.
  • A responsive alternative to using background-img for a resizable fill/fit image.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/MadeByRaymond/utilities-for-overflow-and-object-fit