You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/04/26 08:00:09 UTC

[isis] branch master updated: ISIS-3024: button size fix - using size from before Bootstrap 5.x

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new eb13c7187c ISIS-3024: button size fix - using size from before Bootstrap 5.x
eb13c7187c is described below

commit eb13c7187c6285b16c5378d0375fefabf52773c9
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Apr 26 10:00:01 2022 +0200

    ISIS-3024: button size fix - using size from before Bootstrap 5.x
---
 .../viewer/wicket/ui/pages/bootstrap-overrides-all-v2.css     | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides-all-v2.css b/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides-all-v2.css
index a94ca58f01..e724ee0ec5 100644
--- a/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides-all-v2.css
+++ b/viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/bootstrap-overrides-all-v2.css
@@ -569,6 +569,11 @@ div.additionalLinkList {
     background-color: rgba(255, 255, 255, 0.3);
 }
 
+/* button size fix - using size from before Bootstrap 5.x */
+.btn-group-sm > .btn, .btn-sm {
+  font-size: 0.8rem;
+}
+
 /* buttons: distinguished rendering for disabled action buttons
    (assuming changing of background transparency is reasonable to apply to light as well as dark themes) */
 .btn.disabled, .btn[disabled], fieldset[disabled] .btn {
@@ -943,10 +948,12 @@ footer .footer-image {
     margin-bottom: 4px;
 }
 
-/* fit button-group inside surrounding value input box */
+/* fit button-group inside surrounding value input box 
+   obsolete when changing button size more generally
 .scalarValueInput .btn-group-sm > .btn {
-	padding: .20rem .5rem;
+	padding: .20rem .5rem;  
 }
+*/
 
 .booleanPanel .actions-right .additionalLinkListInline {
     margin-top: 0px;