how to adjust the alignment of brand name along with logo?

I'm terribly bad in front end. Please see my screenshot
No description
Solution:
maybe you can use justify-content https://tailwindcss.com/docs/justify-content and adjusting the font size to fit it within the logo area...
Justify Content - Tailwind CSS
Utilities for controlling how flex and grid items are positioned along a container's main axis.
Jump to solution
3 Replies
itsmejyv
itsmejyv3w ago
code: <style> @font-face { font-family: 'Copperplate'; src: url('{{ asset('font/copperplate.otf') }}') format('opentype'); } .brand-name { font-family: 'Copperplate', sans-serif; } </style> <div class="flex"> <img src="{{ asset('images/logo.png') }}" /> <h1 class="brand-name">{{ filament()->getBrandName() }}</h1> </div>
Solution
LeandroFerreira
maybe you can use justify-content https://tailwindcss.com/docs/justify-content and adjusting the font size to fit it within the logo area
Justify Content - Tailwind CSS
Utilities for controlling how flex and grid items are positioned along a container's main axis.
itsmejyv
itsmejyv3w ago
Thanks man!
Want results from more Discord servers?
Add your server