[CSS] Scrollable panels. Attachments width is retained on view now.
This commit is contained in:
		| @@ -409,11 +409,15 @@ summary:hover .icon-details-open { | |||||||
|     background-color: var(--translucent); |     background-color: var(--translucent); | ||||||
|     padding: var(--small-size); |     padding: var(--small-size); | ||||||
|  |  | ||||||
|     width: auto; |  | ||||||
|     height: auto; |  | ||||||
|     max-width: 100%; |     max-width: 100%; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .note-attachments > figure > img, | ||||||
|  | .note-attachments > figure > video { | ||||||
|  |     width: min-content; | ||||||
|  |     height: auto; | ||||||
|  | } | ||||||
|  |  | ||||||
| .note-attachments > figure figcaption { | .note-attachments > figure figcaption { | ||||||
|     display: flex; |     display: flex; | ||||||
|     max-width: 100%; |     max-width: 100%; | ||||||
| @@ -758,6 +762,8 @@ input[type=file] { | |||||||
|     height: calc(100% - 3rem); |     height: calc(100% - 3rem); | ||||||
|  |  | ||||||
|     padding: var(--unit-size); |     padding: var(--unit-size); | ||||||
|  |  | ||||||
|  |     overflow-y: auto; | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user