-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not break the line after each repository block
It only breaks the line when the content of the block is to large to fit in one sigle line. Co-authored-by: Dario Leidi <dleidi@suse.com>
- Loading branch information
Showing
3 changed files
with
6 additions
and
26 deletions.
There are no files selected for viewing
22 changes: 1 addition & 21 deletions
22
src/api/app/assets/stylesheets/request_show_redesign/build_results.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,9 @@ | ||
.build-result { | ||
// One element per row | ||
// The div width is 100% minus the sum of its margins: ml-2 + mr-2 = 0.5rem + 0.5rem = 1rem | ||
width: calc(100% - 1rem); | ||
width: 220px; | ||
border-left: thick solid $gray-300; | ||
cursor: help; | ||
|
||
&:hover { | ||
background-color: $gray-100; | ||
} | ||
|
||
@include media-breakpoint-up(sm) { | ||
// Up to 2 elements in a row | ||
// The div width is 50% minus the sum of its margins: ml-2 + mr-5 = 0.5rem + 3rem = 3.5rem | ||
width: calc(50% - 3.5rem); | ||
} | ||
|
||
@include media-breakpoint-up(lg) { | ||
// Up to 4 elements in a row | ||
// The div width is 25% minus the sum of its margins: ml-2 + mr-5 = 0.5rem + 3rem = 3.5rem | ||
width: calc(25% - 3.5rem); | ||
} | ||
|
||
@include media-breakpoint-up(xxl) { | ||
// Up to 5 elements in a row | ||
// The div width is 20% minus the sum of its margins: ml-2 + mr-5 = 0.5rem + 3rem = 3.5rem | ||
width: calc(20% - 3.5rem); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
src/api/app/components/build_result_for_architecture_component.html.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters