Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MisRob committed Oct 6, 2024
1 parent dc81a59 commit 33c559a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lib/cards/KCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -684,21 +684,21 @@
$thumbnail-width: null;
/*
Coordinates space taken by the thumbnail area and the content area
next to it more intelligently in browsers that support `clamp()` by:
Coordinates space taken by the thumbnail area and the content area
next to it more intelligently in browsers that support `clamp()` by:
- Instead of defining 'width', 'min-width', and 'max-width' separately,
`clamp()` is used with the goal to have the actual thumbnail width
saved in the single `$thumbnail-width` value.
- Instead of defining 'width', 'min-width', and 'max-width' separately,
`clamp()` is used with the goal to have the actual thumbnail width
saved in the single `$thumbnail-width` value.
- The `$thumbnail-width` value is then referenced when calculating
the remaining space for the content area, ensuring the precise
distribution of space.
- The `$thumbnail-width` value is then referenced when calculating
the remaining space for the content area, ensuring the precise
distribution of space.
Resolves some issues related to unprecise calculations, most importantly
this removes the area of empty space between the thumbnail and content areas
in some card's sizes, wasting space that can be used for card's textual content.
*/
Resolves some issues related to unprecise calculations, most importantly
this removes the area of empty space between the thumbnail and content areas
in some card's sizes, wasting space that can be used for card's textual content.
*/
@mixin clamp-with-fallback($min, $preferred, $max) {
// fallback for browsers that don't support 'clamp()'
$thumbnail-width: $preferred;
Expand Down

0 comments on commit 33c559a

Please sign in to comment.