Skip to content
GitLab
    • Explore Projects Groups Snippets
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
  • !11162
An error occurred while fetching the assigned milestone of the selected merge_request.

Options of sizes added in modal

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/felipefialho/modal-sizes into master 11 years ago
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 2

Created by: felipefialho

Hey Friends,

This time I believe the branches are organized correctly. =p

I imagine it would be interesting other size options for modal. I usually to add this option in my projects.

I added this functionality in modal and the possibility of set the size in "variables".

Thanks ; )

Compare
  • master (base)

and
  • latest version
    89e0f166
    2 commits, 2 years ago

2 files
+ 11
- 1

    Preferences

    File browser
    Compare changes
le‎ss‎
modal‎s.less‎ +8 -1
variabl‎es.less‎ +3 -0
less/modals.less
+ 8
- 1
  • View file @ 89e0f166

  • Edit in single-file editor

  • Open in Web IDE


@@ -38,7 +38,14 @@
margin-right: auto;
width: auto;
padding: 10px;
z-index: (@zindex-modal-background + 10);
z-index: (@zindex-modal-background + 10);
&.modal-lg {
width: @modal-lg;
}
&.modal-sm {
width: @modal-sm;
}
}
// Actual modal
less/variables.less
+ 3
- 0
  • View file @ 89e0f166

  • Edit in single-file editor

  • Open in Web IDE


@@ -448,6 +448,9 @@
@modal-header-border-color: #e5e5e5;
@modal-footer-border-color: @modal-header-border-color;
@modal-lg: 900px;
@modal-sm: 300px;
// Alerts
// -------------------------
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: github/fork/felipefialho/modal-sizes

Menu

Explore Projects Groups Snippets