5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 21:46:22 +00:00

migas responsivas

This commit is contained in:
f 2021-05-09 13:12:06 -03:00
parent 1a4d1b13f9
commit c2b150df12
2 changed files with 10 additions and 3 deletions

View file

@ -355,6 +355,13 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1);
.text-column-#{$size} { .text-column-#{$size} {
column-count: $size; column-count: $size;
} }
.line-clamp-#{$size} {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: $size;
-webkit-box-orient: vertical;
}
} }
/* /*

View file

@ -4,13 +4,13 @@
title: t('svg.sutty.title'), desc: t('svg.sutty.desc') title: t('svg.sutty.title'), desc: t('svg.sutty.desc')
%nav{ aria: { label: t('.title') } } %nav{ aria: { label: t('.title') } }
%ol.breadcrumb %ol.breadcrumb.m-0.flex-wrap
- breadcrumb_trail do |crumb| - breadcrumb_trail do |crumb|
%li.breadcrumb-item{ class: crumb.current? ? 'active' : '' } %li.breadcrumb-item{ class: crumb.current? ? 'active' : '' }
- if crumb.current? - if crumb.current?
%span{ aria: { current: 'page' } }= crumb.name %span.line-clamp-1{ aria: { current: 'page' } }= crumb.name
- else - else
%span= link_to crumb.name, crumb.url %span.line-clamp-1= link_to crumb.name, crumb.url
- if current_usuarie - if current_usuarie
%ul.navbar-nav %ul.navbar-nav