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

Adjust grid wrapping in build tables #1286

Merged
merged 1 commit into from
Apr 7, 2017

Conversation

Martchus
Copy link
Contributor

@Martchus Martchus commented Apr 5, 2017

See https://progress.opensuse.org/issues/12942

This shows how the width of the progress bars is adjusted (the larger progress bar shows how it was before for comparison):
spectacle n21689

Alternative would be wrapping. It would look like this (not part of the PR):

spectacle b21689

Advantage would be that it works with any text length. The problem with indentation could be solved. However, it doesn't look very nice.

@codecov
Copy link

codecov bot commented Apr 5, 2017

Codecov Report

Merging #1286 into master will increase coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1286      +/-   ##
==========================================
+ Coverage   87.11%   87.19%   +0.08%     
==========================================
  Files         104      104              
  Lines        7348     7348              
==========================================
+ Hits         6401     6407       +6     
+ Misses        947      941       -6
Impacted Files Coverage Δ
lib/OpenQA/WebAPI/Controller/Running.pm 80.32% <0%> (+4.91%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d59d9fb...ef98177. Read the comment docs.

@@ -299,7 +299,7 @@ $screen-tablet: $screen-sm-min !default;

// Medium screen / desktop
//** Deprecated `$screen-md` as of v3.0.1
$screen-md: 992px !default;
$screen-md: 1190px !default;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not md then - this is just 10 px off lg

@@ -2,7 +2,7 @@
% my $build = $build_res->{build};
% my $group_id;
<div class="row build-row <%= $children ? ($default_expanded ? 'children-expanded' : 'children-collapsed') : 'no-children' %>">
<div class="col-md-4 text-nowrap">
<div class="col-md-5 text-nowrap">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want 5 - why not go with sm-4 ?

@Martchus
Copy link
Contributor Author

Martchus commented Apr 5, 2017

Using proposal by @coolo now to wrap earlier without adjusting global media queries. Looks like this:

spectacle w21689

(1st bar after change, 2nd bar before)

@coolo coolo merged commit d9124b0 into os-autoinst:master Apr 7, 2017
@Martchus Martchus changed the title WIP/Feedback: Adjust media queries and progress bar width Adjust grid wrapping in build tables Apr 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants