How to change the distance between buttons contained in a div (or label) #738
-
QuestionI'm trying to create a layout as seen below: I want to change the horizontal/vertical space between the buttons, and I can't seem to do so. I've tried Tailwind CSS, Quasar, and standard CSS options in a .classes() entry, and I still can't seem to figure it out. How would I do this? My code: def servers():
with ui.label().classes('bg-[#E0E0E0] w-full rounded p-2'):
with ui.row():
with ui.column():
Buttons.control_button('Power On', 'green')
Buttons.control_button('Power Off', 'red')
Buttons.control_button('Reboot', 'red')
ui.table(columns=columns,
rows=rows,
row_key='ip',
selection='multiple').tailwind('bg-[#E0E0E0] w-full') |
Beta Was this translation helpful? Give feedback.
Answered by
falkoschindler
Apr 10, 2023
Replies: 1 comment 1 reply
-
Hi @JustinHowes01! What classes have you tried?
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
JustinHowes01
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @JustinHowes01! What classes have you tried?
Here is an explanation on how to set the
gap
of aui.row
orui.column
container: #705 (comment)