diff --git a/css/style.css b/css/style.css index e76bdc9..869ae35 100644 --- a/css/style.css +++ b/css/style.css @@ -121,13 +121,16 @@ #openModal { background-color: #007bff; color: #fff; - padding: 6px 19px; + padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; - max-width: 110px; -} -.media-modal #openModal { - position: fixed; - margin-top: 26px; + font-size: 14px; + font-weight: bold; + text-align: center; + margin-top: 10px; } + +#openModal:hover { + background-color: #0056b3; +} \ No newline at end of file diff --git a/image-rights-html-generator.php b/image-rights-html-generator.php index 79ac6da..192ec7e 100644 --- a/image-rights-html-generator.php +++ b/image-rights-html-generator.php @@ -29,86 +29,54 @@ add_action( 'admin_enqueue_scripts', 'irhg_enqueue_scripts' ); function irhg_add_modal() { ?> -