mirror of
https://github.com/ION606/bluesky-client.git
synced 2026-05-14 21:26:54 +00:00
added single post viewing
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ function togglerelaxed(e) {
|
||||
container.classList.remove('cards-container-relaxed');
|
||||
container.classList.add('cards-container');
|
||||
} else {
|
||||
container.style.gridTemplateColumns = (value !== 'large') ? 'repeat(auto-fill, minmax(280px, 1fr))' : '';
|
||||
container.style.gridTemplateColumns = (value?.trim() !== 'large') ? 'repeat(auto-fill, minmax(280px, 1fr))' : 'none';
|
||||
container.classList.remove('cards-container');
|
||||
container.classList.add('cards-container-relaxed');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user