Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade editform as per bootstrap4 #5741

Open
CleverFool77 opened this issue May 19, 2019 · 6 comments
Open

Upgrade editform as per bootstrap4 #5741

CleverFool77 opened this issue May 19, 2019 · 6 comments
Assignees
Labels
design issue requires more design work and discussion (i.e. mockups and sketches)

Comments

@CleverFool77
Copy link
Member

Currently

editform

Description

Due to usage of bootstrap3 classes and features, The UI has distorted as now we are using bootstrap4.
Fix the UI as per bootstrap4.

@CleverFool77 CleverFool77 added design issue requires more design work and discussion (i.e. mockups and sketches) upgarde-bootstrap4 labels May 19, 2019
@digitaldina
Copy link
Collaborator

this is directly related to #5768 . I want to work on this, but do know where I should look to make these changes?

@digitaldina digitaldina self-assigned this May 22, 2019
@jywarren
Copy link
Member

jywarren commented May 22, 2019 via email

@digitaldina
Copy link
Collaborator

digitaldina commented May 23, 2019

@jywarren I did some reading on the bootstrap migration doc. Are these the changes we're looking for?

  • Sizing classes must be on the parent .input-group and not the individual form elements.
  • "Added a new sm grid tier below 768px for more granular control. We now have xs, sm, md, lg, and xl. This also means every tier has been bumped up one level (so .col-md-6 in v3 is now .col-lg-6 in v4)." so I change this line's class to col-lg-2?

So would I remove the form-group for the bio and profile photo divs?

Thanks!

@CleverFool77
Copy link
Member Author

Hi @dinaelhanan regarding this,
As you can see in the code, The form is inside row class of bootstrap4. The first two textboxes area are included into grid section of col-md-6. But after that, the text boxes below are not set as per the grid.
What we can do it is We can provide. A class of col-md-12 inside row class. And for every next row of textareas which include them inside col-md-12 with every form group being assigned of col-md-6 class.
A span of 6 for form group in md would stack it in small screens.
For example : Username-Email is col-md-12 section with both of taking of span of 6 columns.
is it understandable ?
I'm not good in explaining though 😅

@digitaldina
Copy link
Collaborator

Hi @CleverFool77 thanks for the explanation! You really did clear it up. Please see the PR I just opened to see if I did it correctly. Thanks!

@gautamig54
Copy link
Contributor

@CleverFool77 @dinaelhanan I see this issue is still pending. If no one is working on this, I would like to take up. Thanks!

@stale stale bot added the stale label Oct 7, 2020
@publiclab publiclab deleted a comment from stale bot Oct 8, 2020
@stale stale bot removed the stale label Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design issue requires more design work and discussion (i.e. mockups and sketches)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants