Skip to content

Commit

Permalink
#577 - mode description and styling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkorotkov committed Dec 18, 2020
1 parent e6ead10 commit 7f997d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions static/styles/wp-stateless.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ td.image-icon img.wp-stateless-media-item {
}

.sm-mode small.description {
display: inline-block;
margin-left: 10px;
display: block;
margin-top: 5px;
}

.key_type{
Expand Down
2 changes: 1 addition & 1 deletion static/views/settings_interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<label for="sm_mode_cdn"><input ng-model="sm.mode" id="sm_mode_cdn" type="radio" name="sm[mode]" value="cdn" ng-checked="sm.mode == 'cdn'" ng-disabled="sm.readonly.mode"><?php _e('CDN', ud_get_stateless_media()->domain); ?><small class="description"><?php _e('Copy media files to Google Storage and serve them directly from there.', ud_get_stateless_media()->domain); ?></small></label>
</p>
<p class="sm-mode">
<label for="sm_mode_ephemeral"><input ng-model="sm.mode" id="sm_mode_ephemeral" type="radio" name="sm[mode]" value="ephemeral" ng-checked="sm.mode == 'ephemeral'" ng-disabled="sm.readonly.mode"><?php _e('Ephemeral', ud_get_stateless_media()->domain); ?><small class="description"><?php _e('Store and serve media files with Google Cloud Storage only. Media files are not stored locally, but local storage is used temporarily for processing and is required for certain compatibilities.', ud_get_stateless_media()->domain); ?></small></label>
<label for="sm_mode_ephemeral"><input ng-model="sm.mode" id="sm_mode_ephemeral" type="radio" name="sm[mode]" value="ephemeral" ng-checked="sm.mode == 'ephemeral'" ng-disabled="sm.readonly.mode"><?php _e('Ephemeral', ud_get_stateless_media()->domain); ?><small class="description"><?php _e('Store and serve media files with Google Cloud Storage only. Media files are not stored locally, but local storage is used temporarily for processing and is required for certain compatibilities, generating thumbnails for PDF documents.', ud_get_stateless_media()->domain); ?></small></label>
</p>
<p class="sm-mode">
<label for="sm_mode_stateless"><input ng-model="sm.mode" id="sm_mode_stateless" type="radio" name="sm[mode]" value="stateless" ng-checked="sm.mode == 'stateless'" ng-disabled="sm.readonly.mode"><?php _e('Stateless', ud_get_stateless_media()->domain); ?><small class="description"><?php _e('Store and serve media files with Google Cloud Storage only. Media files are not stored locally.', ud_get_stateless_media()->domain); ?></small></label>
Expand Down

0 comments on commit 7f997d3

Please sign in to comment.