1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-28 05:54:53 +04:00

ribbon fixes, grid fixes

This commit is contained in:
chomik
2019-06-01 21:10:03 +02:00
parent 2b2b53d8b4
commit ad95b45842
4 changed files with 19 additions and 6 deletions
+5 -3
View File
@@ -5,12 +5,14 @@
top: .75rem;
right: -($ribbon-margin);
z-index: 1;
padding: .375rem 1rem;
padding: .25rem 1rem;
font-weight: 600;
color: #fff;
text-align: center;
background: $primary;
border-color: $primary;
font-size: 1rem;
line-height: 1.5;
&::before {
position: absolute;
@@ -101,7 +103,7 @@
width: 0;
height: 0;
content: "";
border: 1.125rem solid;
border: 1rem solid;
border-color: inherit;
border-right-width: 0;
border-left-color: transparent;
@@ -132,7 +134,7 @@
right: 0;
left: 0;
border-color: inherit;
border-width: 1.125rem;
border-width: 1rem;
border-top-width: 0;
border-bottom-color: transparent;
border-bottom-width: .75rem;