Compare commits
	
		
			2 commits
		
	
	
		
			59b413dace
			...
			c363753884
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | c363753884 | ||
|  | e8c3271af1 | 
					 4 changed files with 6 additions and 8 deletions
				
			
		|  | @ -12,16 +12,12 @@ | ||||||
| 
 | 
 | ||||||
|   .banner { |   .banner { | ||||||
|     width: 100%; |     width: 100%; | ||||||
|     margin-top: calc(-1 * (var(--scaffold-topbar-height) + var(--safe-area-inset-top))); |     margin-top: calc(-1 * var(--scaffold-topbar-height)); | ||||||
| 
 | 
 | ||||||
|     >img { |     >img { | ||||||
|       object-fit: cover; |       object-fit: cover; | ||||||
|       width: 100%; |       width: 100%; | ||||||
|       height: 100%; |       height: 100%; | ||||||
| 
 |  | ||||||
|       &::before { |  | ||||||
|         visibility: hidden; |  | ||||||
|       } |  | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -4,6 +4,7 @@ | ||||||
|   margin-left: calc(var(--card-pad, 0) + var(--toot-avatar-size, 0) + 8px); |   margin-left: calc(var(--card-pad, 0) + var(--toot-avatar-size, 0) + 8px); | ||||||
|   margin-right: var(--card-pad, 0); |   margin-right: var(--card-pad, 0); | ||||||
|   gap: 4px; |   gap: 4px; | ||||||
|  |   contain: layout style; | ||||||
| 
 | 
 | ||||||
|   > :where(img, video) { |   > :where(img, video) { | ||||||
|     max-height: 35vh; |     max-height: 35vh; | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| .PreviewCard { | .PreviewCard { | ||||||
|   display: block; |   display: block; | ||||||
|   border: 1px solid #eeeeee; |   border: 1px solid #eeeeee; | ||||||
|   background-color: var(--tutu-color-surface); |   background-color: var(--tutu-color-surface-d); | ||||||
|   text-decoration: none; |   text-decoration: none; | ||||||
|   border-radius: 4px; |   border-radius: 4px; | ||||||
|   overflow: hidden; |   overflow: hidden; | ||||||
|  | @ -13,16 +13,16 @@ | ||||||
|   overflow: hidden; |   overflow: hidden; | ||||||
|   z-index: 1; |   z-index: 1; | ||||||
|   position: relative; |   position: relative; | ||||||
|  |   contain: layout style; | ||||||
| 
 | 
 | ||||||
|   >img { |   >img { | ||||||
|     background-color: #eeeeee; |     background-color: var(--tutu-color-surface); | ||||||
|     max-width: 100%; |     max-width: 100%; | ||||||
|     height: auto; |     height: auto; | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   &:hover, |   &:hover, | ||||||
|   &:focus-visible { |   &:focus-visible { | ||||||
|     background-color: var(--tutu-color-surface-d); |  | ||||||
|     color: var(--tutu-color-on-surface); |     color: var(--tutu-color-on-surface); | ||||||
| 
 | 
 | ||||||
|     >h1 { |     >h1 { | ||||||
|  |  | ||||||
|  | @ -46,6 +46,7 @@ | ||||||
|   align-items: flex-start; |   align-items: flex-start; | ||||||
|   gap: 8px; |   gap: 8px; | ||||||
|   margin-bottom: 8px; |   margin-bottom: 8px; | ||||||
|  |   contain: layout style; | ||||||
| 
 | 
 | ||||||
|   > :not(:first-child) { |   > :not(:first-child) { | ||||||
|     flex-grow: 1; |     flex-grow: 1; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue