Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Button margins when update #32700

Closed
mariantanase opened this issue Mar 16, 2021 · 15 comments
Closed

Add Button margins when update #32700

mariantanase opened this issue Mar 16, 2021 · 15 comments

Comments

@mariantanase
Copy link

Steps to reproduce the issue

When upgrading from Joomla 4 Beta 7 to the current nightly build, you are prompted to enter credentials before continuing.
The two buttons (Cancel and Install) are attached. No margin or padding between them.

Expected result

Actual result

screen shot 2021-03-16 at 09 26 30

System information (as much as possible)

Joomla_4.0.0-beta8-dev
PHP 7.4.13

Additional comments

@akashniyal
Copy link

Sir, let me get a chance to fix this issue.

@alikon
Copy link
Contributor

alikon commented Mar 16, 2021

maybe reading this one #32697 may help

@richard67
Copy link
Member

Whoever wants to fix this issue mind the round corners of the button: When having space between the buttons, it will need all 4 corners of each button to be round.

@JajateeNandineeSahoo
Copy link

I want to fix the issue but don't know where is the code this issue. Could anyone help me and tell what is the path to get the code?

@shitesh2607
Copy link

I am working on this issue.

@infograf768
Copy link
Member

Suggestion:

diff --git a/administrator/components/com_joomlaupdate/tmpl/upload/captive.php b/administrator/components/com_joomlaupdate/tmpl/upload/captive.php
index bc7b120..78bc0f9 100644
--- a/administrator/components/com_joomlaupdate/tmpl/upload/captive.php
+++ b/administrator/components/com_joomlaupdate/tmpl/upload/captive.php
@@ -85,12 +85,12 @@
 		<div class="control-group">
 			<div class="controls">
-				<div class="btn-group">
+				<button type="button" class="btn">
 					<a class="btn btn-danger" href="index.php?option=com_joomlaupdate">
 						<span class="icon-times icon-white" aria-hidden="true"></span> <?php echo Text::_('JCANCEL'); ?>
 					</a>
-					<button type="submit" class="btn btn-primary">
-						<span class="icon-play icon-white" aria-hidden="true"></span> <?php echo Text::_('COM_INSTALLER_INSTALL_BUTTON'); ?>
-					</button>
-				</div>
+				</button>
+				<button type="submit" class="btn btn-primary">
+					<span class="icon-play icon-white" aria-hidden="true"></span> <?php echo Text::_('COM_INSTALLER_INSTALL_BUTTON'); ?>
+				</button>
 			</div>
 		</div>

Screen Shot 2021-03-17 at 09 29 03

@JajateeNandineeSahoo
Copy link

I am working on this issue.

Okay, no problem but I just want to know that can't I work on this issue? Is it that only a single person can work on a single issue?

@mariantanase
Copy link
Author

I want to fix the issue but don't know where is the code this issue. Could anyone help me and tell what is the path to get the code?

I'm sorry to tell you this, but how can you fix this issue when you don't know where to find the code to fix ?

@chmst
Copy link
Contributor

chmst commented Mar 17, 2021

@JajateeNandineeSahoo you can work on this issue - everyone can work on every issue. As soon as you make a pullrequest which solves the problem, the issue will be closed and we test your PR.

@JajateeNandineeSahoo
Copy link

I want to fix the issue but don't know where is the code this issue. Could anyone help me and tell what is the path to get the code?

I'm sorry to tell you this, but how can you fix this issue when you don't know where to find the code to fix ?

Actually I'm new to open source and I don't know much about it. I'm just started learning it and I thought that may be someone would have written the path to find the code.

@infograf768
Copy link
Member

the path is easy. look above : #32700 (comment)

@drmenzelit
Copy link
Contributor

Closing as we have a PR #32716

@infograf768
Copy link
Member

My proposal above #32700 (comment) is wrong.

@infograf768
Copy link
Member

Maybe this will be OK

#32716 (comment)

Reopening

@infograf768 infograf768 reopened this Mar 18, 2021
@drmenzelit
Copy link
Contributor

I'm closing the issue since it is the expected behaviour of a btn-group to have the buttons together without space between them: https://getbootstrap.com/docs/5.0/components/button-group/

Feel free to re-open if you think the btn-group is wrong here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants